Clang: warnings--

This commit is contained in:
Adriaan de Groot 2017-09-14 07:02:24 -04:00
parent 342b819a1d
commit ca60a7fc16
5 changed files with 7 additions and 7 deletions

View File

@ -32,8 +32,8 @@ class DeviceModel : public QAbstractListModel
{ {
Q_OBJECT Q_OBJECT
public: public:
DeviceModel( QObject* parent = 0 ); DeviceModel( QObject* parent = nullptr );
~DeviceModel(); ~DeviceModel() override;
/** /**
* Init the model with the list of devices. Does *not* take ownership of the * Init the model with the list of devices. Does *not* take ownership of the

View File

@ -90,7 +90,7 @@ public:
ColumnCount // Must remain last ColumnCount // Must remain last
}; };
PartitionModel( QObject* parent = 0 ); PartitionModel( QObject* parent = nullptr );
/** /**
* device must remain alive for the life of PartitionModel * device must remain alive for the life of PartitionModel
*/ */

View File

@ -42,7 +42,7 @@ public:
}; };
explicit PartitionBarsView( QWidget* parent = nullptr ); explicit PartitionBarsView( QWidget* parent = nullptr );
virtual ~PartitionBarsView(); virtual ~PartitionBarsView() override;
void setNestedPartitionsMode( NestedPartitionsMode mode ); void setNestedPartitionsMode( NestedPartitionsMode mode );

View File

@ -36,7 +36,7 @@ class PartitionLabelsView : public QAbstractItemView
Q_OBJECT Q_OBJECT
public: public:
explicit PartitionLabelsView( QWidget* parent = nullptr ); explicit PartitionLabelsView( QWidget* parent = nullptr );
virtual ~PartitionLabelsView(); virtual ~PartitionLabelsView() override;
QSize minimumSizeHint() const override; QSize minimumSizeHint() const override;

View File

@ -41,8 +41,8 @@ class PLUGINDLLEXPORT PartitionViewStep : public Calamares::ViewStep
Q_OBJECT Q_OBJECT
public: public:
explicit PartitionViewStep( QObject* parent = 0 ); explicit PartitionViewStep( QObject* parent = nullptr );
virtual ~PartitionViewStep(); virtual ~PartitionViewStep() override;
QString prettyName() const override; QString prettyName() const override;
QWidget* createSummaryWidget() const override; QWidget* createSummaryWidget() const override;