[Konsole-devel] [Bug 80326] New: PATCH: 1-liner bug in kcontrol/konsole/sessioneditor.cpp

Kurt V.Hindenburg khindenburg at cherrynebula.net
Sun Apr 25 17:11:24 UTC 2004


------- 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=80326      
           Summary: PATCH: 1-liner bug in kcontrol/konsole/sessioneditor.cpp
           Product: konsole
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel kde org
        ReportedBy: khindenburg cherrynebula net


Version:            (using KDE Devel)
Installed from:    Compiled sources

Without this fix, you can't change/save Keytabs in the Session Editor.

Index: sessioneditor.cpp
===================================================================
RCS file: /home/kde/kdebase/kcontrol/konsole/sessioneditor.cpp,v
retrieving revision 1.22
diff -u -3 -p -r1.22 sessioneditor.cpp
--- sessioneditor.cpp   6 Apr 2004 22:41:29 -0000       1.22
+++ sessioneditor.cpp   25 Apr 2004 17:01:29 -0000
 @ -106,7 +106,7  @ void SessionEditor::loadAllKeytab()
     QString title = readKeymapTitle(name);

     name = name.section('/',-1);
-    name = name.section('.',1);
+    name = name.section('.',0);
     keytabFilename.append(new QString(name));

     if (title.isNull() || title.isEmpty())



More information about the konsole-devel mailing list