mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +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
@@ -10,6 +10,7 @@
|
||||
#include "dblogincomponent.h"
|
||||
#include "ui_dblogincomponent.h"
|
||||
#include "blackgui/overlaymessagesframe.h"
|
||||
#include "blackmisc/verify.h"
|
||||
#include "blackmisc/network/url.h"
|
||||
#include "blackmisc/logmessage.h"
|
||||
|
||||
@@ -41,7 +42,7 @@ namespace BlackGui
|
||||
{
|
||||
if (msgs.isEmpty()) { return; }
|
||||
COverlayMessagesFrame *mf = qobject_cast<COverlayMessagesFrame *>(parentWidget());
|
||||
Q_ASSERT_X(mf, Q_FUNC_INFO, "No overlay widget");
|
||||
BLACK_VERIFY_X(mf, Q_FUNC_INFO, "No overlay widget");
|
||||
if (!mf) { return; }
|
||||
mf->showOverlayMessages(msgs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user