Bug 80326 - PATCH: 1-liner bug in kcontrol/konsole/sessioneditor.cpp
Summary: PATCH: 1-liner bug in kcontrol/konsole/sessioneditor.cpp
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-25 19:11 UTC by Kurt Hindenburg
Modified: 2004-04-26 23:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Hindenburg 2004-04-25 19:11:23 UTC
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())
Comment 1 Stephan Binner 2004-04-26 23:20:35 UTC
Thanks, applied.