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
SDK
Kompare
Commits
3d272117
Commit
3d272117
authored
Jul 21, 2022
by
Kevin Funk
☕
Browse files
Hide
file:///
in caption & status text
It's a URL to the file, should prefer human-readable file names.
parent
f7b472b5
Pipeline
#207473
passed with stage
in 1 minute and 11 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/komparepart/kompare_part.cpp
View file @
3d272117
...
...
@@ -676,8 +676,8 @@ void KomparePart::onContextMenuRequested(const QPoint& pos)
void
KomparePart
::
updateCaption
()
{
QString
source
=
m_info
.
source
.
toDisplayString
();
QString
destination
=
m_info
.
destination
.
toDisplayString
();
QString
source
=
m_info
.
source
.
toDisplayString
(
QUrl
::
PreferLocalFile
);
QString
destination
=
m_info
.
destination
.
toDisplayString
(
QUrl
::
PreferLocalFile
);
QString
text
;
...
...
@@ -701,8 +701,8 @@ void KomparePart::updateCaption()
void
KomparePart
::
updateStatus
()
{
QString
source
=
m_info
.
source
.
toDisplayString
();
QString
destination
=
m_info
.
destination
.
toDisplayString
();
QString
source
=
m_info
.
source
.
toDisplayString
(
QUrl
::
PreferLocalFile
);
QString
destination
=
m_info
.
destination
.
toDisplayString
(
QUrl
::
PreferLocalFile
);
QString
text
;
...
...
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