[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kinit
From: Waldo Bastian <bastian () kde ! org>
Date: 2005-01-18 21:29:51
Message-ID: 20050118212951.C91DC1CF9F () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Strip directory when determining DCOP name from Exec line.
BUG: 97087
M +4 -0 klauncher.cpp 1.103
--- kdelibs/kinit/klauncher.cpp #1.102:1.103
@@ -997,5 +997,9 @@ KLauncher::start_service(KService::Ptr s
request->dcop_name = v.toString().utf8();
if (request->dcop_name.isEmpty())
+ {
request->dcop_name = request->name;
+ // Strip directory
+ request->dcop_name = request->dcop_name.mid(request->dcop_name.findRev('/')+1);
+ }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic