Commit 4fa81426 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: minor qstring optimization

parent 5f9dc7cb
......@@ -246,7 +246,7 @@ void MainWindow::slotComboScan()
QUrl url = QUrl::fromUserInput(path);
if (url.isRelative())
path = QStringLiteral("~/") + path; // KUrlCompletion completes relative to ~, not CWD
path = QLatin1String("~/") + path; // KUrlCompletion completes relative to ~, not CWD
path = KShell::tildeExpand(path);
......
Markdown is supported
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