kdelibs/kdelibs-4.4.0-krunner-crash-kde#227118.patch
2010-02-16 11:18:09 +00:00

16 lines
468 B
Diff

Index: plasma/runnercontext.cpp
===================================================================
--- plasma/runnercontext.cpp (Revision 1090801)
+++ plasma/runnercontext.cpp (Revision 1090802)
@@ -128,6 +128,10 @@
components.pop_back();
}
+ if (components.isEmpty()) {
+ return true;
+ }
+
QString correctPath;
const unsigned initialComponents = components.size();
for (unsigned i = 0; i < initialComponents - 1; i ++) {