summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-widgets/printoptions.h4
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();