Verified Commit a00f96ef authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

bookmarksrunner: Remove quotes in profile name

Otherwise interpreting it as a path will fail.
parent 09410018
......@@ -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);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment