diff options
| author | Tem PQD <[email protected]> | 2023-06-25 00:31:07 +0000 |
|---|---|---|
| committer | Felix Ernst <[email protected]> | 2023-06-26 19:32:00 +0000 |
| commit | b92bb43e9da038c68ff8cf3f95e043a2e42b6c75 (patch) | |
| tree | a9958002c01652fd7f377bd0f82409c5632029db /src | |
| parent | efd4d76a3ad42fb70a587ef27e27b5edef54f554 (diff) | |
Fix Refresh tooltip text and add Refresh whatsThis text
BUG: 469263
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 00af38beb..219c9eb56 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1766,7 +1766,14 @@ void DolphinMainWindow::setupActions() stashSplit->setVisible(sessionInterface && sessionInterface->isServiceRegistered(QStringLiteral("org.kde.kio.StashNotifier"))); connect(stashSplit, &QAction::triggered, this, &DolphinMainWindow::toggleSplitStash); - KStandardAction::redisplay(this, &DolphinMainWindow::reloadView, actionCollection()); + QAction *redisplay = KStandardAction::redisplay(this, &DolphinMainWindow::reloadView, actionCollection()); + redisplay->setToolTip(i18nc("@info:tooltip", "Refresh view")); + redisplay->setWhatsThis(xi18nc("@info:whatsthis refresh", + "<para>This refreshes " + "the folder view.</para>" + "<para>If the contents of this folder have changed, refreshing will re-scan this folder " + "and show you a newly-updated view of the files and folders contained here.</para>" + "<para>If the view is split, this refreshes the one that is currently in focus.</para>")); QAction *stop = actionCollection()->addAction(QStringLiteral("stop")); stop->setText(i18nc("@action:inmenu View", "Stop")); |
