]> git.lyx.org Git - features.git/commitdiff
Fix warnings.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 28 Feb 2020 05:07:53 +0000 (00:07 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Fri, 28 Feb 2020 05:07:53 +0000 (00:07 -0500)
src/frontends/qt/ButtonController.cpp

index c8644abb85b1673b5b06e3db24505aff6b5124e5..d2910c88c1d1c9ae21afe15cc2d00692fa9e1940 100644 (file)
@@ -47,7 +47,7 @@ static void setWidgetEnabled(QWidget * obj, bool enabled)
 class CheckedLineEdit
 {
 public:
-       CheckedLineEdit(QLineEdit * input, QWidget * label = 0);
+       CheckedLineEdit(QLineEdit * input, QWidget * label = nullptr);
        bool check() const;
 
 private:
@@ -93,7 +93,8 @@ public:
        typedef QList<CheckedLineEdit> CheckedWidgetList;
 
        Private()
-               : okay_(0), apply_(0), cancel_(0), restore_(0), auto_apply_(0), default_(0),
+               : okay_(nullptr), apply_(nullptr), cancel_(nullptr),
+                       restore_(nullptr), auto_apply_(nullptr), default_(nullptr),
                        policy_(ButtonPolicy::IgnorantPolicy)
        {}