Commit a3c0a822 authored by Nate Graham's avatar Nate Graham
Browse files

Merge branch 'release/20.12'

parents 8fd0d685 f2d2f325
......@@ -486,7 +486,7 @@ void PlacesPanel::slotStorageSetupDone(int index, bool success)
void PlacesPanel::slotShowTooltip()
{
const QUrl url = m_model->data(m_hoveredIndex).value("url").value<QUrl>();
const QString text = url.isLocalFile() ? url.path() : url.toString();
const QString text = url.toDisplayString(QUrl::PreferLocalFile);
QToolTip::showText(m_hoverPos, text);
}
......
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