aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/extensionsystem/pluginspec.cpp
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-01-03 15:28:42 +0100
committerEike Ziller <eike.ziller@qt.io>2017-01-04 16:32:42 +0000
commite0dd885338d65bd1d35f14c10f55d09d453de0f0 (patch)
treef0a12da36e52f5af4e8a1723b18e21355d7737c9 /src/libs/extensionsystem/pluginspec.cpp
parent5017d11958e9b518e23a71bb9f837ae340304a94 (diff)
PluginSpec: Use member initialization
Change-Id: Ie8720248eca88ec447461b54b27928c25dace97e Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/libs/extensionsystem/pluginspec.cpp')
-rw-r--r--src/libs/extensionsystem/pluginspec.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/libs/extensionsystem/pluginspec.cpp b/src/libs/extensionsystem/pluginspec.cpp
index ef83caa66d..61e2fb0451 100644
--- a/src/libs/extensionsystem/pluginspec.cpp
+++ b/src/libs/extensionsystem/pluginspec.cpp
@@ -507,17 +507,7 @@ namespace {
\internal
*/
PluginSpecPrivate::PluginSpecPrivate(PluginSpec *spec)
- : required(false),
- experimental(false),
- enabledByDefault(true),
- enabledBySettings(true),
- enabledIndirectly(false),
- forceEnabled(false),
- forceDisabled(false),
- plugin(0),
- state(PluginSpec::Invalid),
- hasError(false),
- q(spec)
+ : q(spec)
{
}