summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-02-19 21:33:58 +0100
committerTannin <devnull@localhost>2013-02-19 21:33:58 +0100
commitcb297d20b616e49803470396c21dd5747370cfaf (patch)
tree19d2fe4119f65d23ba7e833a98bebd5cf854fe4d /src/settings.h
parentefe42430777fe187c042d30e3496448fd12c9a82 (diff)
- proper detection of user-preferred language
- resume and removal of failed download fixed
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index 04781611..34d61a24 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -187,6 +187,11 @@ public:
*/
QVariant pluginSetting(const QString &pluginName, const QString &key) const;
+ /**
+ * @return short code of the configured language (corresponding to the translation files)
+ */
+ QString language();
+
private:
QString obfuscate(const QString &password) const;