Commit 3d272117 authored by Kevin Funk's avatar 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
......@@ -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;
......
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