summaryrefslogtreecommitdiffstats
path: root/qt-ui/undocommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/undocommands.h')
-rw-r--r--qt-ui/undocommands.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/qt-ui/undocommands.h b/qt-ui/undocommands.h
index bd8530d77..62fb2d22b 100644
--- a/qt-ui/undocommands.h
+++ b/qt-ui/undocommands.h
@@ -28,13 +28,12 @@ private:
class UndoRenumberDives : public QUndoCommand {
public:
- UndoRenumberDives(QMap<int,int> originalNumbers, int startNumber);
+ UndoRenumberDives(QMap<int, QPair<int, int> > originalNumbers);
virtual void undo();
virtual void redo();
private:
- QMap<int,int> oldNumbers;
- int start;
+ QMap<int,QPair<int, int> > oldNumbers;
};
class UndoRemoveDivesFromTrip : public QUndoCommand {