mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-02-09 08:15:41 +08:00
16 lines
311 B
C++
16 lines
311 B
C++
#include "AppInfo.h"
|
|
|
|
#include <QQmlContext>
|
|
#include <QGuiApplication>
|
|
#include "Version.h"
|
|
|
|
AppInfo::AppInfo(QObject *parent)
|
|
: QObject{parent} {
|
|
version(APPLICATION_VERSION);
|
|
}
|
|
|
|
[[maybe_unused]] void AppInfo::testCrash() {
|
|
auto *crash = reinterpret_cast<volatile int *>(0);
|
|
*crash = 0;
|
|
}
|