diff main/PreferencesDialog.cpp @ 2126:0b15f3b16776 fix-static-analysis

Use nullptr throughout
author Chris Cannam
date Mon, 26 Nov 2018 14:35:05 +0000
parents 47bbee02fa8f
children a94b289f0b93
line wrap: on
line diff
--- a/main/PreferencesDialog.cpp	Mon Nov 26 13:56:48 2018 +0000
+++ b/main/PreferencesDialog.cpp	Mon Nov 26 14:35:05 2018 +0000
@@ -386,8 +386,8 @@
     connect(hms, SIGNAL(stateChanged(int)),
             this, SLOT(showHMSChanged(int)));
 
-    QFrame *frame = 0;
-    QGridLayout *subgrid = 0;
+    QFrame *frame = nullptr;
+    QGridLayout *subgrid = nullptr;
     int row = 0;
 
     // Appearance tab