summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-12-20 06:43:36 +0100
committerMontel Laurent <[email protected]>2017-12-20 06:43:36 +0100
commit2310dab0256d8e954f1c9080c1989daca7df7fd1 (patch)
treefda6678aa9b9b235fd20a32a6191e5698f98ad97
parentb82de3cec336d8023d16fff97e414859f15e9a60 (diff)
Fix initialize value
-rw-r--r--src/pimcommon/genericplugins/abstractgenericplugininterface.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pimcommon/genericplugins/abstractgenericplugininterface.h b/src/pimcommon/genericplugins/abstractgenericplugininterface.h
index 18f32fc..f714c14 100644
--- a/src/pimcommon/genericplugins/abstractgenericplugininterface.h
+++ b/src/pimcommon/genericplugins/abstractgenericplugininterface.h
@@ -36,8 +36,6 @@ public:
ToolBar = 5
};
ActionType()
- : mAction(nullptr)
- , mType(Tools)
{
}
@@ -47,7 +45,7 @@ public:
private:
QAction *mAction = nullptr;
- Type mType;
+ Type mType = Tools;
};
class AbstractGenericPluginInterfacePrivate;