mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Add application role 'Sample'
Sample hotkey which requires access to CGuiApplication, did not yet set a application role. Since there was no corresponding role for samples, I added one and set it in sample hotkey.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
5420aee195
commit
97b21b6dac
@@ -22,7 +22,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
CGuiApplication::highDpiScreenSupport();
|
||||
QApplication qa(argc, argv);
|
||||
CGuiApplication a;
|
||||
CGuiApplication a("samplehotkey", BlackMisc::CApplicationInfo::Sample, QPixmap());
|
||||
BlackGui::Components::CSettingsHotkeyComponent w;
|
||||
w.show();
|
||||
return a.exec();
|
||||
|
||||
@@ -32,7 +32,8 @@ namespace BlackMisc
|
||||
PilotClientCore,
|
||||
PilotClientGui,
|
||||
MappingTool,
|
||||
UnitTest
|
||||
UnitTest,
|
||||
Sample
|
||||
};
|
||||
|
||||
//! Flags describing application modes
|
||||
|
||||
Reference in New Issue
Block a user