diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-28 19:40:41 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-29 09:14:20 -0800 |
commit | 9836f57598a51955a96ebdfe3bd306e4501eb8c7 (patch) | |
tree | 5a26b7d785e55f0a3056237517992b3bca39c51c /desktop-widgets/printoptions.h | |
parent | f057dd46ed06ff699b299c9fe8805c9fe721f91d (diff) | |
download | subsurface-9836f57598a51955a96ebdfe3bd306e4501eb8c7.tar.gz |
cleanup: Uninitialized pointer field
CID 208292
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'desktop-widgets/printoptions.h')
-rw-r--r-- | desktop-widgets/printoptions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/printoptions.h b/desktop-widgets/printoptions.h index 1db0dfe61..29f3fa42a 100644 --- a/desktop-widgets/printoptions.h +++ b/desktop-widgets/printoptions.h @@ -69,8 +69,8 @@ public: private: Ui::PrintOptions ui; - struct print_options *printOptions; - struct template_options *templateOptions; + struct print_options *printOptions = Q_NULLPTR; + struct template_options *templateOptions = Q_NULLPTR; bool hasSetupSlots; QString lastImportExportTemplate; void setupTemplates(); |