summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printoptions.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-04-01 23:11:19 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-02 07:34:46 -0700
commit30230dce1027a6a0d0bad5e09581e6130cc78a62 (patch)
treea6549df68f71e55f9a91505b1a0c053e306e63db /desktop-widgets/printoptions.h
parent30746e5d3f6b20a0603359f55f232fb082362f39 (diff)
downloadsubsurface-30230dce1027a6a0d0bad5e09581e6130cc78a62.tar.gz
Cleanup: remove all Q_NULLPTR instances
It expands to nullptr anyway and is inconsitent with the rest of the code. Let's remove this anachronism. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/printoptions.h')
-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 29f3fa42a..0290f1a3e 100644
--- a/desktop-widgets/printoptions.h
+++ b/desktop-widgets/printoptions.h
@@ -69,8 +69,8 @@ public:
private:
Ui::PrintOptions ui;
- struct print_options *printOptions = Q_NULLPTR;
- struct template_options *templateOptions = Q_NULLPTR;
+ struct print_options *printOptions = nullptr;
+ struct template_options *templateOptions = nullptr;
bool hasSetupSlots;
QString lastImportExportTemplate;
void setupTemplates();