mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
refs #485, moved central GUI functionality to sGui
* allow to send status message to main window (from everywhere) * Use sGui::changedStylesheet where possible * message when model is stashed * improved application startup
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b1353cefd4
commit
fb046ae1fb
@@ -92,6 +92,7 @@ namespace BlackGui
|
||||
Q_ASSERT_X(this->m_statusBarIcon, Q_FUNC_INFO, "Missing status bar icon");
|
||||
Q_ASSERT_X(this->m_statusBar, Q_FUNC_INFO, "Missing status bar");
|
||||
|
||||
// used with log subscriber, make sure it is not displayed twice
|
||||
if (statusMessage.wasHandledBy(this)) { return; }
|
||||
statusMessage.markAsHandledBy(this);
|
||||
|
||||
@@ -111,7 +112,7 @@ namespace BlackGui
|
||||
|
||||
void CManagedStatusBar::displayStatusMessages(const BlackMisc::CStatusMessageList &statusMessages)
|
||||
{
|
||||
foreach(CStatusMessage m, statusMessages)
|
||||
foreach (CStatusMessage m, statusMessages)
|
||||
{
|
||||
displayStatusMessage(m);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user