diff options
Diffstat (limited to 'desktop-widgets/undocommands.h')
-rw-r--r-- | desktop-widgets/undocommands.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/undocommands.h b/desktop-widgets/undocommands.h index 128c62e51..da30c27a0 100644 --- a/desktop-widgets/undocommands.h +++ b/desktop-widgets/undocommands.h @@ -189,13 +189,13 @@ private: class UndoShiftTime : public QUndoCommand { Q_DECLARE_TR_FUNCTIONS(Command) public: - UndoShiftTime(QVector<int> changedDives, int amount); + UndoShiftTime(const QVector<dive *> &changedDives, int amount); private: void undo() override; void redo() override; // For redo and undo - QVector<int> diveList; + QVector<dive *> diveList; int timeChanged; }; |