From 90940a774eab876c38d5cef981b4be5bae67a462 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 8 Jul 2018 23:20:56 +0200 Subject: modernize only --- tracker-test/test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-test') 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())); -- cgit v1.2.3