From 3a6c0d6410efe77d1f63e4d87e44c65e96925870 Mon Sep 17 00:00:00 2001 From: Alexander Rodin Date: Sat, 7 Jul 2007 08:33:07 +0000 Subject: [PATCH] svn path=/trunk/KDE/kdebase/apps/konsole/; revision=684802 --- src/Application.cpp | 2 ++ src/Profile.h | 2 +- src/SessionManager.cpp | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Application.cpp b/src/Application.cpp index b4295d260..49cb4db7a 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -178,6 +178,8 @@ void Application::toggleBackgroundInstance() Application::~Application() { + SessionManager + delete SessionManager::instance(); delete ColorSchemeManager::instance(); delete KeyboardTranslatorManager::instance(); diff --git a/src/Profile.h b/src/Profile.h index 63584066b..df33fd5df 100644 --- a/src/Profile.h +++ b/src/Profile.h @@ -63,7 +63,7 @@ public: /** (QString) The descriptive name of this profile. */ Name, - /** (QString) TODO: Document me. */ + /** (QString) Title of this profile that will be displayed. */ Title, /** (QString) The name of the icon associated with this profile. This * is used in menus and tabs to represent the profile. diff --git a/src/SessionManager.cpp b/src/SessionManager.cpp index b018bfe9a..e64b7938f 100644 --- a/src/SessionManager.cpp +++ b/src/SessionManager.cpp @@ -125,7 +125,7 @@ QString SessionManager::loadProfile(const QString& shortPath) // load the profile ProfileReader* reader = 0; if ( path.endsWith(".desktop") ) - reader = 0; //new KDE3ProfileReader; + reader = 0; // new KDE3ProfileReader; else reader = new KDE4ProfileReader;