summaryrefslogtreecommitdiffhomepage
path: root/tracker-test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:20:56 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-08 23:20:56 +0200
commit90940a774eab876c38d5cef981b4be5bae67a462 (patch)
tree2e60edc1719ffd53752a55a7f0444166965e90c5 /tracker-test
parente3292e1ddaa8d69eb320d2700fc582b4675cf8ce (diff)
modernize only
Diffstat (limited to 'tracker-test')
-rw-r--r--tracker-test/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-test/test.cpp b/tracker-test/test.cpp
index d37d7373..f93f1556 100644
--- a/tracker-test/test.cpp
+++ b/tracker-test/test.cpp
@@ -81,7 +81,7 @@ test_dialog::test_dialog()
connect(ui.buttonBox, &QDialogButtonBox::clicked, [this](QAbstractButton* btn) {
if (btn == ui.buttonBox->button(QDialogButtonBox::Abort))
- *(volatile int*)0 = 0;
+ *(volatile int*)nullptr = 0;
});
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));