mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-03 16:25:54 +08:00
Removed wrong assert
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c6f7896939
commit
66e17d62b6
@@ -73,7 +73,6 @@ namespace BlackGui
|
|||||||
bool CGuiUtility::isMainWindowFrameless()
|
bool CGuiUtility::isMainWindowFrameless()
|
||||||
{
|
{
|
||||||
CEnableForFramelessWindow *mw = mainFramelessEnabledApplicationWindow();
|
CEnableForFramelessWindow *mw = mainFramelessEnabledApplicationWindow();
|
||||||
Q_ASSERT(mw); // there should be a main window
|
|
||||||
return (mw && mw->isFrameless());
|
return (mw && mw->isFrameless());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user