mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
8194726857
commit
53de0d56b9
@@ -562,7 +562,7 @@ namespace BlackGui
|
||||
QScopedPointer<QMenu> contextMenu(new QMenu(this));
|
||||
this->addToContextMenu(contextMenu.data());
|
||||
QAction *selectedItem = contextMenu.data()->exec(globalPos);
|
||||
Q_UNUSED(selectedItem);
|
||||
Q_UNUSED(selectedItem)
|
||||
}
|
||||
|
||||
void CDockWidget::onVisibilityChanged(bool visible)
|
||||
|
||||
@@ -1178,9 +1178,9 @@ namespace BlackGui
|
||||
QMainWindow *w = sGui->mainApplicationWindow();
|
||||
if (!w) { return; }
|
||||
m_frontBack = true;
|
||||
w->showNormal(); //bring window to top on OSX
|
||||
w->raise(); //bring window from minimized state on OSX
|
||||
w->activateWindow(); //bring window to front/unminimize on windows
|
||||
w->showNormal(); // bring window to top on OSX
|
||||
w->raise(); // bring window from minimized state on OSX
|
||||
w->activateWindow(); // bring window to front/unminimize on windows
|
||||
}
|
||||
|
||||
void CGuiApplication::windowToBack()
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace BlackGui
|
||||
|
||||
// use insert to insert from left to right
|
||||
// this keeps any grip on the right size
|
||||
m_statusBar->insertPermanentWidget(0, m_statusBarIcon, 0); // status icon
|
||||
m_statusBar->insertPermanentWidget(0, m_statusBarIcon, 0); // status icon
|
||||
m_statusBar->insertPermanentWidget(1, m_statusBarLabel, 1); // status text
|
||||
|
||||
// timer
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace BlackGui
|
||||
explicit CManagedStatusBar(QObject *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CManagedStatusBar();
|
||||
virtual ~CManagedStatusBar() override;
|
||||
|
||||
//! Get the status bar
|
||||
QStatusBar *getStatusBar() const { return m_statusBar; }
|
||||
|
||||
Reference in New Issue
Block a user