error: no viable conversion from 'PuzzleMainWindow' to 'PuzzleMainWindow *'.
This commit is contained in:
parent
736d07a304
commit
3ce9de7181
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user