mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
Preparation for 2 COM keys and increase/decrease volume hotkeys
Ref T672, Ref T642
This commit is contained in:
committed by
Mat Sutcliffe
parent
d509b1eb09
commit
50412aa0d1
@@ -176,7 +176,7 @@ namespace BlackGui
|
||||
CIdentifierList CSettingsHotkeyComponent::getAllIdentifiers() const
|
||||
{
|
||||
CIdentifierList identifiers;
|
||||
if (!sGui) { return identifiers; }
|
||||
if (!sGui || !sGui->getIContextApplication()) { return identifiers; }
|
||||
if (sGui->getIContextApplication()) { identifiers = sGui->getIContextApplication()->getRegisteredApplications(); }
|
||||
|
||||
// add local application
|
||||
@@ -188,7 +188,7 @@ namespace BlackGui
|
||||
{
|
||||
if (keyDown)
|
||||
{
|
||||
QMessageBox* msgBox = new QMessageBox(this);
|
||||
QMessageBox *msgBox = new QMessageBox(this);
|
||||
msgBox->setAttribute(Qt::WA_DeleteOnClose);
|
||||
msgBox->setStandardButtons(QMessageBox::Ok);
|
||||
msgBox->setWindowTitle("Test");
|
||||
|
||||
Reference in New Issue
Block a user