From 9836f57598a51955a96ebdfe3bd306e4501eb8c7 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Thu, 28 Dec 2017 19:40:41 +0100 Subject: cleanup: Uninitialized pointer field CID 208292 Signed-off-by: Jan Mulder --- desktop-widgets/printoptions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop-widgets') 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(); -- cgit v1.2.3-70-g09d2