From a00f96ef5e2d1f91fb894887ab4162ca73566d41 Mon Sep 17 00:00:00 2001 From: Alexander Lohnau Date: Thu, 29 Apr 2021 14:21:35 +0200 Subject: [PATCH] bookmarksrunner: Remove quotes in profile name Otherwise interpreting it as a path will fail. --- runners/bookmarks/browsers/falkon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runners/bookmarks/browsers/falkon.cpp b/runners/bookmarks/browsers/falkon.cpp index 2bf568ec1..83c74079e 100644 --- a/runners/bookmarks/browsers/falkon.cpp +++ b/runners/bookmarks/browsers/falkon.cpp @@ -60,6 +60,6 @@ void Falkon::teardown() QString Falkon::getStartupProfileDir() { const QString profilesIni = QStandardPaths::locate(QStandardPaths::ConfigLocation, QStringLiteral("/falkon/profiles/profiles.ini")); - const QString startupProfile = KSharedConfig::openConfig(profilesIni)->group("Profiles").readEntry("startProfile", QStringLiteral("default")); + const QString startupProfile = KSharedConfig::openConfig(profilesIni)->group("Profiles").readEntry("startProfile", QStringLiteral("default")).remove("\""); return QFileInfo(profilesIni).dir().absoluteFilePath(startupProfile); }