mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Merge branch 'release/20.12'
This commit is contained in:
commit
a3c0a822ca
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue