Fix warnings.

This commit is contained in:
Richard Kimberly Heck 2020-02-28 00:07:53 -05:00
parent c483565522
commit 1948391a94

View 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)
{}