Ref T40, allow to pass timeout

This commit is contained in:
Klaus Basan
2017-04-24 04:56:13 +02:00
committed by Mathew Sutcliffe
parent 523f650a34
commit b39f9a33a2
4 changed files with 6 additions and 6 deletions

View File

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