diff options
| author | Méven Car <[email protected]> | 2023-10-24 13:44:49 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-10-25 10:05:20 +0000 |
| commit | 12162850ff9f794e14e07ade3f28bfb0dc50d6d6 (patch) | |
| tree | e1d5b02829304ec67772fa033345f9cf57f8e3db /src/dolphinmainwindow.h | |
| parent | 1826f905d706925456763394de17294bcb6d1c35 (diff) | |
Panel: fix actions and shortcuts to toggle their visibility
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index b45c846b8..551e28192 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -659,11 +659,9 @@ private: /** * Creates an action for showing/hiding a panel, that is accessible - * in "Configure toolbars..." and "Configure shortcuts...". This is necessary - * as the action for toggling the dock visibility is done by Qt which - * is no KAction instance. + * in "Configure toolbars..." and "Configure shortcuts...". */ - void createPanelAction(const QIcon &icon, const QKeySequence &shortcut, QAction *dockAction, const QString &actionName); + void createPanelAction(const QIcon &icon, const QKeySequence &shortcut, QDockWidget *dockAction, const QString &actionName); /** Adds "What's This?" texts to many widgets and StandardActions. */ void setupWhatsThis(); |
