mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 18:32:53 +00:00
generic: prepare for KMainWindow changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
c3f3bff65e
commit
9df38fce82
2 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue