Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Filelight
Commits
4fa81426
Commit
4fa81426
authored
Sep 04, 2019
by
Laurent Montel
Browse files
GIT_SILENT: minor qstring optimization
parent
5f9dc7cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mainWindow.cpp
View file @
4fa81426
...
...
@@ -246,7 +246,7 @@ void MainWindow::slotComboScan()
QUrl
url
=
QUrl
::
fromUserInput
(
path
);
if
(
url
.
isRelative
())
path
=
QString
Literal
(
"~/"
)
+
path
;
// KUrlCompletion completes relative to ~, not CWD
path
=
Q
Latin1
String
(
"~/"
)
+
path
;
// KUrlCompletion completes relative to ~, not CWD
path
=
KShell
::
tildeExpand
(
path
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment