mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
refs #485, renamed overlay messages functions
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c411f07551
commit
b1353cefd4
@@ -43,7 +43,7 @@ namespace BlackGui
|
||||
COverlayMessagesFrame *mf = qobject_cast<COverlayMessagesFrame *>(parentWidget());
|
||||
Q_ASSERT_X(mf, Q_FUNC_INFO, "No overlay widget");
|
||||
if (!mf) { return; }
|
||||
mf->showMessages(msgs);
|
||||
mf->showOverlayMessages(msgs);
|
||||
}
|
||||
|
||||
void CDbLoginComponent::ps_onLoginClicked()
|
||||
|
||||
@@ -466,7 +466,7 @@ namespace BlackGui
|
||||
if (!msgs.hasErrorMessages() && onlyErrors) { return false; }
|
||||
BLACK_VERIFY_X(this->getMappingComponent(), Q_FUNC_INFO, "missing mapping component");
|
||||
if (!this->getMappingComponent()) { return false; }
|
||||
this->getMappingComponent()->showMessages(msgs, timeoutMs);
|
||||
this->getMappingComponent()->showOverlayMessages(msgs, timeoutMs);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -476,7 +476,7 @@ namespace BlackGui
|
||||
if (!msgs.hasErrorMessages() && onlyErrors) { return false; }
|
||||
BLACK_VERIFY_X(this->getMappingComponent(), Q_FUNC_INFO, "missing mapping component");
|
||||
if (!this->getMappingComponent()) { return false; }
|
||||
this->getMappingComponent()->showMessagesWithConfirmation(msgs, confirmation, okLambda, defaultButton, timeoutMs);
|
||||
this->getMappingComponent()->showOverlayMessagesWithConfirmation(msgs, confirmation, okLambda, defaultButton, timeoutMs);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -485,7 +485,7 @@ namespace BlackGui
|
||||
if (msg.isEmpty()) { return false; }
|
||||
BLACK_VERIFY_X(this->getMappingComponent(), Q_FUNC_INFO, "missing mapping component");
|
||||
if (!this->getMappingComponent()) { return false; }
|
||||
this->getMappingComponent()->showMessage(msg, timeoutMs);
|
||||
this->getMappingComponent()->showOverlayMessage(msg, timeoutMs);
|
||||
return true;
|
||||
}
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user