From 48af5733bcd959146ac157a3c4759c8d89ccc465 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Thu, 6 Oct 2016 08:37:41 +0200 Subject: clean up public headers If this project is treated as a Qt module, it didn't build without these fixes because QT_NO_KEYWORDS and -Werror=zero-as-null-pointer-constant are enforced. Change-Id: Ie3ab8597b338478a5a34ed49d176ce9a647b1e0e Reviewed-by: Laszlo Agocs Reviewed-by: Teemu Holappa Reviewed-by: Samuli Piippo Reviewed-by: Andy Nichols --- src/networksettings/qnetworksettingsinterfacemodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/networksettings/qnetworksettingsinterfacemodel.h') diff --git a/src/networksettings/qnetworksettingsinterfacemodel.h b/src/networksettings/qnetworksettingsinterfacemodel.h index 7282657..2be5280 100644 --- a/src/networksettings/qnetworksettingsinterfacemodel.h +++ b/src/networksettings/qnetworksettingsinterfacemodel.h @@ -39,7 +39,7 @@ class Q_DECL_EXPORT QNetworkSettingsInterfaceModel : public QAbstractListModel Q_OBJECT public: - explicit QNetworkSettingsInterfaceModel(QObject *parent=0); + explicit QNetworkSettingsInterfaceModel(QObject *parent = nullptr); // from QAbstractItemModel int rowCount(const QModelIndex & parent = QModelIndex()) const; QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const; -- cgit v1.2.3