Ref T225, utility function, messages can be directly shown as overlay

This commit is contained in:
Klaus Basan
2018-01-18 20:20:49 +01:00
parent eaf0095454
commit 7322c14d64
2 changed files with 11 additions and 0 deletions

View File

@@ -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);