Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Use more nullptr

parent f327922e
......@@ -132,7 +132,7 @@ QVariantMap L2tpWidget::setting() const
data = m_tmpAdvancedSetting->data();
} else {
// retrieve the settings if the dialog has not been opened
QScopedPointer<L2tpAdvancedWidget> adv(new L2tpAdvancedWidget(m_setting, Q_NULLPTR));
QScopedPointer<L2tpAdvancedWidget> adv(new L2tpAdvancedWidget(m_setting, nullptr));
data = adv->setting();
}
......@@ -140,7 +140,7 @@ QVariantMap L2tpWidget::setting() const
data.unite(m_tmpPppSetting->data());
} else {
// retrieve the settings if the dialog has not been opened
QScopedPointer<L2tpPPPWidget> ppp(new L2tpPPPWidget(m_setting, Q_NULLPTR));
QScopedPointer<L2tpPPPWidget> ppp(new L2tpPPPWidget(m_setting, nullptr));
data.unite(ppp->setting());
}
......
......@@ -48,7 +48,7 @@ struct x509_st;
#define IGNORE_OPT(opt) ((opt)->flags & OC_FORM_OPT_IGNORE)
#else
#define NEWGROUP_SUPPORTED 0
#define AUTHGROUP_OPT(form) NULL
#define AUTHGROUP_OPT(form) nullptr
#define AUTHGROUP_SELECTION(form) 0
#define FORMCHOICE(sopt, i) (&(sopt)->choices[i])
#define IGNORE_OPT(opt) 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment