error: no viable conversion from 'PuzzleMainWindow' to 'PuzzleMainWindow *'.

This commit is contained in:
Roman Telezhynskyi 2020-02-16 23:36:50 +02:00
parent 736d07a304
commit 3ce9de7181

View File

@ -573,7 +573,7 @@ bool PuzzleApplication::event(QEvent *e)
case QEvent::ApplicationActivate:
{
Clean();
PuzzleMainWindow *mw = PuzzleMainWindow();
PuzzleMainWindow *mw = MainWindow();
if (mw && not mw->isMinimized())
{
mw->show();