mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: reinstate override modifiers
This reverts commit1c4a859c8d, where the override modifiers were removed owing to the noisy "inconsistent override modifiers" which is default-on in clang. This warning was disabled in77577f717f, so we can reinstate the overrides. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d7e3d68f36
commit
574065b314
48 changed files with 196 additions and 196 deletions
|
|
@ -8,8 +8,8 @@
|
|||
class UndoDeleteDive : public QUndoCommand {
|
||||
public:
|
||||
UndoDeleteDive(QList<struct dive*> deletedDives);
|
||||
void undo();
|
||||
void redo();
|
||||
void undo() override;
|
||||
void redo() override;
|
||||
|
||||
private:
|
||||
QList<struct dive*> diveList;
|
||||
|
|
@ -19,8 +19,8 @@ private:
|
|||
class UndoShiftTime : public QUndoCommand {
|
||||
public:
|
||||
UndoShiftTime(QList<int> changedDives, int amount);
|
||||
void undo();
|
||||
void redo();
|
||||
void undo() override;
|
||||
void redo() override;
|
||||
|
||||
private:
|
||||
QList<int> diveList;
|
||||
|
|
@ -30,8 +30,8 @@ private:
|
|||
class UndoRenumberDives : public QUndoCommand {
|
||||
public:
|
||||
UndoRenumberDives(QMap<int, QPair<int, int> > originalNumbers);
|
||||
void undo();
|
||||
void redo();
|
||||
void undo() override;
|
||||
void redo() override;
|
||||
|
||||
private:
|
||||
QMap<int,QPair<int, int> > oldNumbers;
|
||||
|
|
@ -40,8 +40,8 @@ private:
|
|||
class UndoRemoveDivesFromTrip : public QUndoCommand {
|
||||
public:
|
||||
UndoRemoveDivesFromTrip(QMap<struct dive*, dive_trip*> removedDives);
|
||||
void undo();
|
||||
void redo();
|
||||
void undo() override;
|
||||
void redo() override;
|
||||
|
||||
private:
|
||||
QMap<struct dive*, dive_trip*> divesToUndo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue