diff options
| author | Ritchie Frodomar <[email protected]> | 2026-04-02 06:41:54 -0400 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2026-04-02 10:41:54 +0000 |
| commit | e865a1a33cd23fd8ec55315694152262731f727c (patch) | |
| tree | 00045e54bef141e85372edd3b7d97ed6f49ede4b /src/dolphinmainwindow.cpp | |
| parent | 9c736bf398648e64f70ce1651aef4f4bbf8e9549 (diff) | |
Refresh shortcut: Ignore repeat events
Disables auto-repeat on the action for refreshing Dolphin's file list, preventing flickering, when holding F5 pressed/long.
BUG: 514209
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index b2869950b..c514c1f98 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -2072,6 +2072,7 @@ void DolphinMainWindow::setupActions() connect(stashSplit, &QAction::triggered, this, &DolphinMainWindow::toggleSplitStash); QAction *redisplay = KStandardAction::redisplay(this, &DolphinMainWindow::reloadView, actionCollection()); + redisplay->setAutoRepeat(false); redisplay->setToolTip(i18nc("@info:tooltip", "Refresh view")); redisplay->setWhatsThis(xi18nc("@info:whatsthis refresh", "<para>This refreshes " |
