From 06606d2ade0b66ab64cee3da0ac9792f55359121 Mon Sep 17 00:00:00 2001 From: Roman Savochenko Date: Sat, 18 Nov 2023 20:59:57 +0200 Subject: QuickLauncher: Ignore empty URLs at reading the configuration Signed-off-by: Roman Savochenko (cherry picked from commit d2412f01de96943fe2cb62e9104506a6b9b9b7e6) --- kicker/applets/launcher/quicklauncher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kicker') 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; } -- cgit v1.2.1