mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 12:15:29 +08:00
Fixed sample hot keys as discussed on slack
This commit is contained in:
@@ -11,17 +11,18 @@
|
|||||||
//! \ingroup samplehotkey
|
//! \ingroup samplehotkey
|
||||||
|
|
||||||
#include "blackgui/components/settingshotkeycomponent.h"
|
#include "blackgui/components/settingshotkeycomponent.h"
|
||||||
#include "blackmisc/registermetadata.h"
|
#include "blackgui/guiapplication.h"
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
|
||||||
|
using namespace BlackGui;
|
||||||
|
|
||||||
//! main
|
//! main
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
QApplication a(argc, argv);
|
CGuiApplication::highDpiScreenSupport();
|
||||||
|
QApplication qa(argc, argv);
|
||||||
BlackMisc::registerMetadata();
|
CGuiApplication a;
|
||||||
BlackGui::Components::CSettingsHotkeyComponent w;
|
BlackGui::Components::CSettingsHotkeyComponent w;
|
||||||
w.show();
|
w.show();
|
||||||
|
|
||||||
return a.exec();
|
return a.exec();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user