summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-23 09:09:48 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-23 09:31:08 -0800
commitddc01e39e7486434c6b814358ab4c77ea92c0776 (patch)
tree400ca390cff8070e5736eeeaf5d3f913b7d58b0a /helpers.h
parent62999c866f993bacadbbcad8aaf9a191f440dd1a (diff)
downloadsubsurface-ddc01e39e7486434c6b814358ab4c77ea92c0776.tar.gz
Move helper functions around
We had a ton of helper functions in qt-gui.cpp which really didn't make much sense. So I moved them all into qthelper.cpp. Also moved the UserAgent helper that didn't belong in the UpdateHandler to begin with - that's a generic helper used in many places... With this we can successfully build using cmake again. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
index 885b73e58..47dccb90e 100644
--- a/helpers.h
+++ b/helpers.h
@@ -37,6 +37,7 @@ QString uiLanguage(QLocale *callerLoc);
QLocale getLocale();
QString getDateFormat();
void selectedDivesGasUsed(QVector<QPair<QString, int> > &gasUsed);
+QString getUserAgent();
#if defined __APPLE__
#define TITLE_OR_TEXT(_t, _m) "", _t + "\n" + _m