[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore/config
From: Michael Pyne <mpyne () purinchu ! net>
Date: 2009-02-23 2:25:30
Message-ID: 1235355930.906909.23208.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 930322 by mpyne:
The reason the change to using KDE prefix did not work for me is one of the \
returned prefixes was empty. Who knew?
M +1 -1 kdesktopfile.cpp
--- trunk/KDE/kdelibs/kdecore/config/kdesktopfile.cpp #930321:930322
@@ -159,7 +159,7 @@
// Check if the .desktop file is installed as part of KDE.
foreach (const QString &prefix, kdePrefixes) {
- if (path.startsWith(prefix))
+ if (!prefix.isEmpty() && path.startsWith(prefix))
return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic