From d36e4555da1fcf46d2ecfbaae8db1b0fe1915b10 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 19 Dec 2013 17:03:22 -0800 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/subsurfacewebservices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qt-ui/subsurfacewebservices.cpp') 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) { -- cgit v1.2.3-70-g09d2