diff options
author | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-06-17 13:14:34 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> | 2015-06-17 12:22:06 +0000 |
commit | c383535d5c3f5eb764cb341131b2cbd87ebfb327 (patch) | |
tree | d16c5cf9ba668cc2f5eaa178e295077a4ee1258b /src/plugins/cpaster/cpasterplugin.cpp | |
parent | 27384b8b6e77c7a098218d8428c7741acc9ebcb7 (diff) |
CPaster: Introduce member initialization.
Remove/simplify constructors accordingly.
Change-Id: I27ac0281a89dfadefb1f7837d99ce185745b7aae
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpaster/cpasterplugin.cpp')
-rw-r--r-- | src/plugins/cpaster/cpasterplugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cpaster/cpasterplugin.cpp b/src/plugins/cpaster/cpasterplugin.cpp index 083394205e..462d949ea4 100644 --- a/src/plugins/cpaster/cpasterplugin.cpp +++ b/src/plugins/cpaster/cpasterplugin.cpp @@ -105,8 +105,7 @@ void CodePasterService::postClipboard() CodepasterPlugin *CodepasterPlugin::m_instance = 0; CodepasterPlugin::CodepasterPlugin() : - m_settings(new Settings), - m_postEditorAction(0), m_fetchAction(0) + m_settings(new Settings) { CodepasterPlugin::m_instance = this; } |