Removed wrong assert

This commit is contained in:
Klaus Basan
2017-03-06 18:10:21 +01:00
committed by Mathew Sutcliffe
parent c6f7896939
commit 66e17d62b6

View File

@@ -73,7 +73,6 @@ namespace BlackGui
bool CGuiUtility::isMainWindowFrameless()
{
CEnableForFramelessWindow *mw = mainFramelessEnabledApplicationWindow();
Q_ASSERT(mw); // there should be a main window
return (mw && mw->isFrameless());
}