diff options
author | Michele Calgaro <[email protected]> | 2020-04-11 00:05:55 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-04-11 00:05:55 +0900 |
commit | 232282cbf92bee9b3179da14507d97735372651a (patch) | |
tree | 5ef3affb8643d9041b6b3721b102aa4d9665bf8c /kate/app/kateapp.cpp | |
parent | 2d8b5af5068ad96b1729aefa3476c2df87084bb6 (diff) | |
download | tdebase-232282cbf92bee9b3179da14507d97735372651a.tar.gz tdebase-232282cbf92bee9b3179da14507d97735372651a.zip |
Kate:
1) removed connection to inexistent slot
2) fix code to save Kate's session from TDE's session manager. This
relates to bug 2691.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate/app/kateapp.cpp')
-rw-r--r-- | kate/app/kateapp.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kate/app/kateapp.cpp b/kate/app/kateapp.cpp index c92d7cebc..57c274636 100644 --- a/kate/app/kateapp.cpp +++ b/kate/app/kateapp.cpp @@ -83,8 +83,6 @@ KateApp::KateApp (TDECmdLineArgs *args) kdDebug()<<"Setting KATE_PID: '"<<getpid()<<"'"<<endl; ::setenv( "KATE_PID", TQString(TQString("%1").arg(getpid())).latin1(), 1 ); - connect(this, TQT_SIGNAL(aboutToQuit()), this, TQT_SLOT(slotAboutToQuit())); - // handle restore different if (isRestored()) { @@ -299,7 +297,7 @@ bool KateApp::startupKate() void KateApp::shutdownKate(KateMainWindow *win) { - if (!win->queryClose_internal() || !query_session_close()) + if (!win->queryClose_internal()) return; // detach the dcopClient |