diff options
Diffstat (limited to 'subsurface-core/metrics.cpp')
-rw-r--r-- | subsurface-core/metrics.cpp | 11 |
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() { |