mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
kate: enable session management from KateApp constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
da21da4e5c
commit
4b7a502ef7
2 changed files with 1 additions and 1 deletions
|
@ -54,6 +54,7 @@ KateApp::KateApp (KCmdLineArgs *args)
|
||||||
, m_args (args)
|
, m_args (args)
|
||||||
{
|
{
|
||||||
setQuitOnLastWindowClosed (false);
|
setQuitOnLastWindowClosed (false);
|
||||||
|
enableSessionManagement();
|
||||||
|
|
||||||
// application interface
|
// application interface
|
||||||
m_application = new Kate::Application (this);
|
m_application = new Kate::Application (this);
|
||||||
|
|
|
@ -377,7 +377,6 @@ int main( int argc, char **argv )
|
||||||
KateApp app (args);
|
KateApp app (args);
|
||||||
if (app.shouldExit()) return 0;
|
if (app.shouldExit()) return 0;
|
||||||
|
|
||||||
app.enableSessionManagement();
|
|
||||||
// execute ourself ;)
|
// execute ourself ;)
|
||||||
return app.exec();
|
return app.exec();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue