refactor: move loadHidpiIcon from ActionManager to ToolButton.

setting loadHidpiIcon in ToolButton is better than ActionManager.
ToolButton has less code and its aim also include loading icon.
This commit is contained in:
2026-07-03 15:15:21 +08:00
parent f4d272e014
commit 7ea3524a90
4 changed files with 18 additions and 17 deletions
-2
View File
@@ -21,8 +21,6 @@ public:
void setupShortcuts();
void enablePrevNextPictureAction(bool enablePrevPictureAction, bool enableNextPictureAction);
static QIcon loadHidpiIcon(const QString &resp, QSize sz = QSize(32, 32));
public:
QAction *actionOpen;