mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Ref T225, utility function, messages can be directly shown as overlay
This commit is contained in:
@@ -36,6 +36,13 @@ namespace BlackGui
|
||||
return CStatusMessageList();
|
||||
}
|
||||
|
||||
CStatusMessageList CForm::validateAsOverlayMessage(bool withNestedObjects, bool appendOldMessages, int timeOutMs)
|
||||
{
|
||||
const CStatusMessageList msgs = this->validate(withNestedObjects);
|
||||
this->showOverlayMessages(msgs, appendOldMessages, timeOutMs);
|
||||
return msgs;
|
||||
}
|
||||
|
||||
void CForm::jsonPasted(const QString &json)
|
||||
{
|
||||
Q_UNUSED(json);
|
||||
|
||||
Reference in New Issue
Block a user