summaryrefslogtreecommitdiffstats
path: root/core/qthelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/qthelper.cpp')
-rw-r--r--core/qthelper.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp
index 2e74c5625..4db43458b 100644
--- a/core/qthelper.cpp
+++ b/core/qthelper.cpp
@@ -290,19 +290,6 @@ bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_te
}
#endif
-QList<int> getDivesInTrip(dive_trip_t *trip)
-{
- QList<int> ret;
- int i;
- struct dive *d;
- for_each_dive (i, d) {
- if (d->divetrip == trip) {
- ret.push_back(get_divenr(d));
- }
- }
- return ret;
-}
-
static xmlDocPtr get_stylesheet_doc(const xmlChar *uri, xmlDictPtr, int, void *, xsltLoadType)
{
QFile f(QLatin1String(":/xslt/") + (const char *)uri);