generic: prepare for KMainWindow changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-05-10 03:57:55 +03:00
parent c3f3bff65e
commit 9df38fce82
2 changed files with 3 additions and 2 deletions

View file

@ -71,8 +71,9 @@ int main(int argc, char *argv[])
args->clear(); args->clear();
mw->show(); mw->show();
} else {
kRestoreMainWindows<MainWindow>();
} }
else RESTORE(MainWindow);
return app.exec(); return app.exec();
} }

View file

@ -50,7 +50,7 @@ int main(int argc, char** argv)
// see if we are starting with session management // see if we are starting with session management
if (app.isSessionRestored()) if (app.isSessionRestored())
{ {
RESTORE(Shell); kRestoreMainWindows<Shell>();
} }
else else
{ {