diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-12-19 17:03:22 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-20 09:53:05 -0800 |
commit | d36e4555da1fcf46d2ecfbaae8db1b0fe1915b10 (patch) | |
tree | ea0079c64c70aa836dcfe1f3d4402afd4322ee5c /qt-ui/subsurfacewebservices.cpp | |
parent | b654bcdd7aefc71e7fa367aae171b3afac8c4a41 (diff) | |
download | subsurface-d36e4555da1fcf46d2ecfbaae8db1b0fe1915b10.tar.gz |
Move the divelogs.de preparation function into the C++ class
This is so we can mark the error messages for translation.
Signed-off-by: Thiago Macieira <thiago@macieira.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index afa368b7d..6e58d3ad1 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -98,7 +98,7 @@ static void clear_table(struct dive_table *table) table->nr = 0; } -static bool prepare_dives_for_divelogs(const QString &tempfile, const bool selected) +bool DivelogsDeWebServices::prepare_dives_for_divelogs(const QString &tempfile, const bool selected) { static const char errPrefix[] = "divelog.de-upload:"; if (!amount_selected) { |