Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Created alias for function pointer type clarity.

Emmet O'Neill19bdde866b08
diff --git a/libs/ui/kis_selection_actions_panel.cpp b/libs/ui/kis_selection_actions_panel.cpp
index ff286cf163..d3dad650ef 100644
--- a/libs/ui/kis_selection_actions_panel.cpp
+++ b/libs/ui/kis_selection_actions_panel.cpp
@@ -39,7 +39,9 @@ class KisSelectionManager;
struct ActionButtonData {
QString iconName;
QString tooltip;
- void (KisSelectionManager::*slot)();
+
+ using TargetSlot = void (KisSelectionManager::*)();
+ TargetSlot slot;
};
struct KisSelectionActionsPanel::Private {