From 3c240aa80760441f7e01e5e4995d30574835ecec Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Sun, 26 Apr 2009 03:15:25 +0000 Subject: [PATCH] append a '/' if needed svn path=/trunk/KDE/kdelibs/; revision=959336 --- applet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/applet.cpp b/applet.cpp index c15f83d70..e88dab0c5 100644 --- a/applet.cpp +++ b/applet.cpp @@ -2100,6 +2100,8 @@ void AppletPrivate::init(const QString &packagePath) QString path = packagePath; if (path.isEmpty()) { KStandardDirs::locate("data", "plasma/plasmoids/" + appletDescription.pluginName() + '/'); + } else if (!path.endsWith('/')) { + path.append('/'); } if (path.isEmpty()) {