diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-14 22:07:00 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-06 13:58:09 -0700 |
commit | e61641c79cd57bfa55d2371615a7eef7c73b4eb7 (patch) | |
tree | 85333dfed1630b1d968498495d1d1c151570e015 /packaging/ios | |
parent | ebdb3e3c3029d3762207e8dcadfa3a61bf0a9293 (diff) | |
download | subsurface-e61641c79cd57bfa55d2371615a7eef7c73b4eb7.tar.gz |
undo: implement undo of setting a picture time by drag&drop
Even though the functionality is seemingly trivial, this is a bit
invasive, as the code has to be split into two distinct parts:
1) Post undo command
2) React to changes to the divelist
Don't compile that code on mobile.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'packaging/ios')
-rw-r--r-- | packaging/ios/Subsurface-mobile.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/ios/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile.pro index 2e70662c5..a036ccae8 100644 --- a/packaging/ios/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile.pro @@ -21,6 +21,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \ ../../commands/command_divesite.cpp \ ../../commands/command_edit.cpp \ ../../commands/command_edit_trip.cpp \ + ../../commands/command_pictures.cpp \ ../../core/cloudstorage.cpp \ ../../core/configuredivecomputerthreads.cpp \ ../../core/devicedetails.cpp \ @@ -186,6 +187,7 @@ HEADERS += \ ../../commands/command_divesite.h \ ../../commands/command_edit.h \ ../../commands/command_edit_trip.h \ + ../../commands/command_pictures.h \ ../../core/libdivecomputer.h \ ../../core/cloudstorage.h \ ../../core/configuredivecomputerthreads.h \ |