From e865a1a33cd23fd8ec55315694152262731f727c Mon Sep 17 00:00:00 2001 From: Ritchie Frodomar Date: Thu, 2 Apr 2026 06:41:54 -0400 Subject: 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 --- src/dolphinmainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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", "This refreshes " -- cgit v1.3