summaryrefslogtreecommitdiffstats
path: root/MultiMC.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-09-09 01:20:17 +0200
committerPetr Mrázek <peterix@gmail.com>2013-09-09 01:20:17 +0200
commitec6215a9456dfa4523afd34198ffa878343f5f59 (patch)
tree36fa5a8238433ef9567ab1e631d15a180b8fa73d /MultiMC.h
parent3e1cb5798835917bd64f34dc52fa1ca44eb4c7b2 (diff)
downloadMultiMC-ec6215a9456dfa4523afd34198ffa878343f5f59.tar
MultiMC-ec6215a9456dfa4523afd34198ffa878343f5f59.tar.gz
MultiMC-ec6215a9456dfa4523afd34198ffa878343f5f59.tar.lz
MultiMC-ec6215a9456dfa4523afd34198ffa878343f5f59.tar.xz
MultiMC-ec6215a9456dfa4523afd34198ffa878343f5f59.zip
Fix translation initialization (and loading).
Diffstat (limited to 'MultiMC.h')
-rw-r--r--MultiMC.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/MultiMC.h b/MultiMC.h
index 0c8b673b..216c670b 100644
--- a/MultiMC.h
+++ b/MultiMC.h
@@ -65,7 +65,11 @@ private:
void initGlobalSettings();
void initHttpMetaCache();
+
+ void initTranslations();
private:
+ QTranslator * m_qt_translator = nullptr;
+ QTranslator * m_mmc_translator = nullptr;
SettingsObject * m_settings = nullptr;
InstanceList * m_instances = nullptr;
IconList * m_icons = nullptr;