mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: move trip-related functions into own translation unit
These functions were spread out over dive.c and divelist.c. Move them into their own file to make all this a bit less monolithic. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f1c2cd375e
commit
7f4d9db962
45 changed files with 481 additions and 426 deletions
|
@ -12,6 +12,7 @@
|
|||
#include "mainwindow.h"
|
||||
#include "divelistview.h"
|
||||
#include "command.h"
|
||||
#include "core/trip.h" // TODO: Needed because divesChanged uses a trip parameter -> remove that!
|
||||
|
||||
static const QUrl urlMapWidget = QUrl(QStringLiteral("qrc:/qml/MapWidget.qml"));
|
||||
static const QUrl urlMapWidgetError = QUrl(QStringLiteral("qrc:/qml/MapWidgetError.qml"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue