diff options
| author | Kai Uwe Broulik <[email protected]> | 2021-12-18 15:17:39 +0100 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2021-12-18 15:17:39 +0100 |
| commit | caf49dafa557caa9bd985702a240284348c82b40 (patch) | |
| tree | 6be1a94d17325c79e495658c0e2dfd6501f1fd4b /src | |
| parent | 0446c768675f0a11f887378681eb1f01b3e2c575 (diff) | |
| parent | b2c137fdb7e552131c5a31db657f395f2f09e672 (diff) | |
Merge branch 'release/21.12'
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 11338ec1f..c03095c3c 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -758,7 +758,7 @@ void DolphinMainWindow::slotAboutToShowBackPopupMenu() int entries = 0; m_backAction->menu()->clear(); for (int i = urlNavigator->historyIndex() + 1; i < urlNavigator->historySize() && entries < MaxNumberOfNavigationentries; ++i, ++entries) { - QAction* action = new QAction(urlNavigator->locationUrl(i).toString(QUrl::PreferLocalFile), m_backAction->menu()); + QAction* action = new QAction(urlNavigator->locationUrl(i).toDisplayString(QUrl::PreferLocalFile), m_backAction->menu()); action->setData(i); m_backAction->menu()->addAction(action); } @@ -787,7 +787,7 @@ void DolphinMainWindow::slotAboutToShowForwardPopupMenu() int entries = 0; m_forwardAction->menu()->clear(); for (int i = urlNavigator->historyIndex() - 1; i >= 0 && entries < MaxNumberOfNavigationentries; --i, ++entries) { - QAction* action = new QAction(urlNavigator->locationUrl(i).toString(QUrl::PreferLocalFile), m_forwardAction->menu()); + QAction* action = new QAction(urlNavigator->locationUrl(i).toDisplayString(QUrl::PreferLocalFile), m_forwardAction->menu()); action->setData(i); m_forwardAction->menu()->addAction(action); } |
