refs #800 Fixed logic error (all control paths lead to assert).

This commit is contained in:
Mathew Sutcliffe
2016-11-10 00:46:54 +00:00
committed by Klaus Basan
parent 53ceaca47c
commit 39188fa7a8

View File

@@ -203,7 +203,10 @@ namespace BlackGui
{
showOverlayImage(variant.value<CPixmap>(), timeOutMs);
}
Q_ASSERT_X(false, Q_FUNC_INFO, "Unsupported type");
else
{
Q_ASSERT_X(false, Q_FUNC_INFO, "Unsupported type");
}
}
void COverlayMessages::setModeToMessages()