mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32: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)
|
||||
{
|
||||
setQuitOnLastWindowClosed (false);
|
||||
enableSessionManagement();
|
||||
|
||||
// application interface
|
||||
m_application = new Kate::Application (this);
|
||||
|
|
|
@ -377,7 +377,6 @@ int main( int argc, char **argv )
|
|||
KateApp app (args);
|
||||
if (app.shouldExit()) return 0;
|
||||
|
||||
app.enableSessionManagement();
|
||||
// execute ourself ;)
|
||||
return app.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue