mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Ref T40, allow to pass timeout
This commit is contained in:
committed by
Mathew Sutcliffe
parent
523f650a34
commit
b39f9a33a2
@@ -36,11 +36,11 @@ namespace BlackGui
|
||||
return true;
|
||||
}
|
||||
|
||||
bool IMainWindowAccess::displayInOverlayWindow(const BlackMisc::CStatusMessage &message)
|
||||
bool IMainWindowAccess::displayInOverlayWindow(const BlackMisc::CStatusMessage &message, int timeOutMs)
|
||||
{
|
||||
if (message.isEmpty()) { return false; }
|
||||
if (!this->m_mwaOverlayFrame) { return false; }
|
||||
this->m_mwaOverlayFrame->showOverlayMessage(message);
|
||||
this->m_mwaOverlayFrame->showOverlayMessage(message, timeOutMs);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user