diff options
| author | Nate Graham <[email protected]> | 2020-11-16 10:26:04 -0700 |
|---|---|---|
| committer | Nate Graham <[email protected]> | 2020-11-16 10:26:04 -0700 |
| commit | a3c0a822caf2c40ea74ed373d3a93f4cb1c0f8c7 (patch) | |
| tree | 37582a3d5025ce6bafa3e6784715641ac997f300 /src | |
| parent | 8fd0d685a6837af460dbb4efd6f72c3a6f049cbc (diff) | |
| parent | f2d2f325b628f8b831cce076c1a5f5dc43ac21ee (diff) | |
Merge branch 'release/20.12'
Diffstat (limited to 'src')
| -rw-r--r-- | src/panels/places/placespanel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp index 66770ee86..ef174946b 100644 --- a/src/panels/places/placespanel.cpp +++ b/src/panels/places/placespanel.cpp @@ -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); } |
