summaryrefslogtreecommitdiffstats
path: root/kicker/applets
diff options
context:
space:
mode:
authorRoman Savochenko <roman@home.home>2023-11-18 20:59:57 +0200
committerRoman Savochenko <roman@home.home>2023-11-18 20:59:57 +0200
commitd2412f01de96943fe2cb62e9104506a6b9b9b7e6 (patch)
treec0cdf5dafc0d90267962acdd49c32cff0a732a37 /kicker/applets
parenta99f7a16ff7034f7c7ef77d7702a6f5bee0e2616 (diff)
downloadtdebase-d2412f01de96943fe2cb62e9104506a6b9b9b7e6.tar.gz
tdebase-d2412f01de96943fe2cb62e9104506a6b9b9b7e6.zip
QuickLauncher: Ignore empty URLs at reading the configuration
Signed-off-by: Roman Savochenko <roman@home.home>
Diffstat (limited to 'kicker/applets')
-rw-r--r--kicker/applets/launcher/quicklauncher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicker/applets/launcher/quicklauncher.cpp b/kicker/applets/launcher/quicklauncher.cpp
index ebdc9346d..624c229da 100644
--- a/kicker/applets/launcher/quicklauncher.cpp
+++ b/kicker/applets/launcher/quicklauncher.cpp
@@ -856,7 +856,7 @@ void QuickLauncher::loadConfig()
int n = 0;
while (iter != urls.end()) {
TQString url = *iter;
- addApp(url, n, false);
+ if(!url.isEmpty()) addApp(url, n, false);
++iter;
++n;
}