[Konsole-devel] [Bug 126557] konsole ignores "DefaultSession" parameter in konsolerc

Kurt V.Hindenburg kurt.hindenburg at kdemail.net
Mon May 1 18:29:28 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=126557         




------- Additional Comments From kurt.hindenburg kdemail net  2006-05-01 20:29 -------
SVN commit 536269 by hindenburg:

Use the "DefaultSession" parameter in konsolerc.

CCBUG: 126557


 M  +5 -2      konsole.cpp  


--- trunk/KDE/kdebase/apps/konsole/konsole/konsole.cpp #536268:536269
 @ -2668,8 +2668,11  @
 
 KSimpleConfig *Konsole::defaultSession()
 {
-  if (!m_defaultSession)
-    setDefaultSession("shell.desktop");
+  if (!m_defaultSession) {
+    KConfig * config = KGlobal::config();
+    config->setDesktopGroup();
+    setDefaultSession(config->readEntry("DefaultSession","shell.desktop"));
+  }
   return m_defaultSession;
 }



More information about the konsole-devel mailing list