summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Savochenko <[email protected]>2023-11-18 20:59:57 +0200
committerMichele Calgaro <[email protected]>2023-11-19 23:42:44 +0900
commit06606d2ade0b66ab64cee3da0ac9792f55359121 (patch)
tree5a27644eaefa3b9c67436e9cdf6948ea5aaf9961
parent196fabb203d4be929902d1d3a8aa8f80d3f1d3ed (diff)
downloadtdebase-06606d2ade0b66ab64cee3da0ac9792f55359121.tar.gz
tdebase-06606d2ade0b66ab64cee3da0ac9792f55359121.zip
QuickLauncher: Ignore empty URLs at reading the configuration
Signed-off-by: Roman Savochenko <[email protected]> (cherry picked from commit d2412f01de96943fe2cb62e9104506a6b9b9b7e6)
-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;
}