mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-24 03:30:59 +08:00
18 lines
307 B
C++
18 lines
307 B
C++
#include "AppInfo.h"
|
|
|
|
#include <QQmlContext>
|
|
#include <QDebug>
|
|
#include <QGuiApplication>
|
|
#include "Version.h"
|
|
|
|
AppInfo::AppInfo(QObject *parent)
|
|
: QObject{parent}
|
|
{
|
|
version(APPLICATION_VERSION);
|
|
}
|
|
|
|
void AppInfo::testCrash(){
|
|
auto *crash = reinterpret_cast<volatile int *>(0);
|
|
*crash = 0;
|
|
}
|