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