kdelibs/kdelibs-4.4.0-krunner-crash-kde#227118.patch

16 lines
468 B
Diff
Raw Normal View History

2010-02-16 11:18:09 +00:00
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 ++) {