mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Break picture handling code from C++ to C.
This commit breaks the loading of images that were done in the divelist into smaller bits. A bit of code refactor was done in order to correct the placement of a few methods. ShiftTimesDialog::EpochFromExiv got moved to Exif::epoch dive_add_picture is now used instead of add_event picture_load_exif_data got implemented using the old listview code. dive_set_geodata_from_picture got implemented using the old listview code. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
13e8aba7da
commit
d95d1735b5
9 changed files with 87 additions and 70 deletions
|
|
@ -106,6 +106,7 @@ SET(SUBSURFACE_CORE_LIB_SRCS
|
|||
#dirk ported some core functionality to c++.
|
||||
qthelper.cpp
|
||||
divecomputer.cpp
|
||||
exif.cpp
|
||||
)
|
||||
|
||||
#the interface, in C++
|
||||
|
|
@ -132,7 +133,6 @@ SET(SUBSURFACE_INTERFACE
|
|||
qt-ui/starwidget.cpp
|
||||
qt-ui/subsurfacewebservices.cpp
|
||||
qt-ui/tableview.cpp
|
||||
qt-ui/exif.cpp
|
||||
qt-ui/divelogimportdialog.cpp
|
||||
qt-ui/tagwidget.cpp
|
||||
qt-ui/groupedlineedit.cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue