summaryrefslogtreecommitdiffstats
path: root/subsurface-core/metrics.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@gmail.com>2016-03-06 21:39:19 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-07 11:21:44 -0800
commitd7d8660bbb7fd0e5a8f3da6631ec02512f0cb49a (patch)
treed5546bd47da8640c9c285eadd648a8af01bf4377 /subsurface-core/metrics.cpp
parent5bf0e48700004c093f9f755d36ae1bec2ebb85d3 (diff)
downloadsubsurface-d7d8660bbb7fd0e5a8f3da6631ec02512f0cb49a.tar.gz
Clean up more unused variables
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/metrics.cpp')
-rw-r--r--subsurface-core/metrics.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/subsurface-core/metrics.cpp b/subsurface-core/metrics.cpp
index 203c2e5e2..db636794d 100644
--- a/subsurface-core/metrics.cpp
+++ b/subsurface-core/metrics.cpp
@@ -8,7 +8,16 @@
#include "metrics.h"
-static IconMetrics dfltIconMetrics = { -1 };
+static IconMetrics dfltIconMetrics;
+
+IconMetrics::IconMetrics() :
+ sz_small(-1),
+ sz_med(-1),
+ sz_big(-1),
+ sz_pic(-1),
+ spacing(-1)
+{
+}
QFont defaultModelFont()
{