[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 102941] User created sessions with "~" (like "~/somescript")
From:       "Kurt V.Hindenburg" <kurt.hindenburg () kdemail ! net>
Date:       2005-04-01 1:56:50
Message-ID: 20050401015650.23881.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=102941         
kurt.hindenburg kdemail net changed:

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



------- Additional Comments From kurt.hindenburg kdemail net  2005-04-01 03:56 -------
This has been fixed...

Replace ~ with homeDirPath in Session's Exec entries.

BUG: 102941


  M +1 -1      konsole.cpp   1.526


--- kdebase/konsole/konsole/konsole.cpp  #1.525:1.526
 @ -3069,4 +3068,5  @ void Konsole::addSessionCommand(const QS
   }
 
+  exec = exec.replace( "~", QDir::homeDirPath() );
   exec = KRun::binaryName(exec, false);
   QString pexec = KGlobal::dirs()->findExe(exec);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic