[Konsole-devel] [Bug 99673] When upgrading from 3.3.2 to 3.4 konsole session names and locations are lost for more than one session

Waldo Bastian bastian at kde.org
Sat Feb 19 18:24:56 UTC 2005


------- 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=99673         
bastian kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From bastian kde org  2005-02-19 19:24 -------
CVS commit by waba: 

Fix handling of KDE 3.3 session files.
BUG: 99673


  M +3 -0      main.cpp   1.285


--- kdebase/konsole/konsole/main.cpp  #1.284:1.285
 @ -495,4 +495,7  @ extern "C" int KDE_EXPORT kdemain(int ar
         m->enableFixedSize(fixed_size);
         m->restore(n);
+        sessionconfig->setGroup(QString("%1").arg(n));
+        if (!sessionconfig->hasKey("Pgm0"))
+            sessionconfig->setDesktopGroup(); // Backwards compatible
         m->makeGUI();
         m->setEncoding(sessionconfig->readNumEntry("Encoding0"));



More information about the konsole-devel mailing list