Remove reduntant virtual keywords.
This commit is contained in:
parent
c01d63cb02
commit
374f88fa5f
|
@ -36,10 +36,10 @@ public:
|
|||
~ConfigureOptionsDialog();
|
||||
|
||||
protected Q_SLOTS:
|
||||
virtual void updateSettings() override;
|
||||
virtual void updateWidgetsDefault() override;
|
||||
virtual bool hasChanged() override;
|
||||
virtual bool isDefault() override;
|
||||
void updateSettings() override;
|
||||
void updateWidgetsDefault() override;
|
||||
bool hasChanged() override;
|
||||
bool isDefault() override;
|
||||
void onComboDefaultFileSystemActivated(int) {
|
||||
settingsChangedSlot();
|
||||
}
|
||||
|
|
|
@ -27,8 +27,8 @@ public:
|
|||
FormattedSpinBox(QWidget* parent = nullptr) : QDoubleSpinBox(parent) {}
|
||||
|
||||
public:
|
||||
virtual QString textFromValue(double value) const override;
|
||||
virtual double valueFromText(const QString& text) const override;
|
||||
QString textFromValue(double value) const override;
|
||||
double valueFromText(const QString& text) const override;
|
||||
|
||||
private:
|
||||
QString stripped(const QString &t, int *pos = 0) const;
|
||||
|
|
|
@ -43,8 +43,8 @@ protected:
|
|||
const Partition& destPartition() const {
|
||||
return m_DestPartition;
|
||||
}
|
||||
virtual bool canGrow() const override;
|
||||
virtual bool canShrink() const override {
|
||||
bool canGrow() const override;
|
||||
bool canShrink() const override {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -56,13 +56,13 @@ protected:
|
|||
PartitionRole::Roles partitionRoles() const {
|
||||
return m_PartitionRoles;
|
||||
}
|
||||
virtual bool canGrow() const override {
|
||||
bool canGrow() const override {
|
||||
return true;
|
||||
}
|
||||
virtual bool canShrink() const override {
|
||||
bool canShrink() const override {
|
||||
return true;
|
||||
}
|
||||
virtual bool canMove() const override {
|
||||
bool canMove() const override {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -40,10 +40,10 @@ class PartTableWidget : public PartWidgetBase
|
|||
|
||||
public:
|
||||
PartTableWidget(QWidget* parent);
|
||||
virtual qint32 borderWidth() const override {
|
||||
qint32 borderWidth() const override {
|
||||
return 0; /**< @return border width */
|
||||
}
|
||||
virtual qint32 borderHeight() const override {
|
||||
qint32 borderHeight() const override {
|
||||
return 0; /**< @return border height */
|
||||
}
|
||||
|
||||
|
|
|
@ -48,15 +48,15 @@ public:
|
|||
}
|
||||
|
||||
public Q_SLOTS:
|
||||
virtual void accept() override;
|
||||
virtual void reject() override;
|
||||
void accept() override;
|
||||
void reject() override;
|
||||
|
||||
protected:
|
||||
virtual bool canGrow() const override;
|
||||
virtual bool canShrink() const override;
|
||||
virtual bool canMove() const override;
|
||||
virtual void setupDialog() override;
|
||||
virtual void setDirty() override;
|
||||
bool canGrow() const override;
|
||||
bool canShrink() const override;
|
||||
bool canMove() const override;
|
||||
void setupDialog() override;
|
||||
void setDirty() override;
|
||||
void rollback();
|
||||
void setResizedFirstSector(qint64 s) {
|
||||
m_ResizedFirstSector = s;
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
ScanProgressDialog(QWidget* parent);
|
||||
|
||||
protected:
|
||||
virtual void showEvent(QShowEvent* e) override;
|
||||
void showEvent(QShowEvent* e) override;
|
||||
|
||||
public:
|
||||
void setProgress(quint32 p) {
|
||||
|
|
Loading…
Reference in New Issue