mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Qt: use translations
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
#include "DolphinQt2/QtUtils/RunOnObject.h"
|
||||
#include "DolphinQt2/Resources.h"
|
||||
#include "DolphinQt2/Settings.h"
|
||||
#include "DolphinQt2/Translation.h"
|
||||
#include "UICommon/CommandLineParse.h"
|
||||
#include "UICommon/UICommon.h"
|
||||
|
||||
@ -75,6 +76,9 @@ int main(int argc, char* argv[])
|
||||
// Hook up alerts from core
|
||||
RegisterMsgAlertHandler(QtMsgAlertHandler);
|
||||
|
||||
// Hook up translations
|
||||
Translation::Initialize();
|
||||
|
||||
// Whenever the event loop is about to go to sleep, dispatch the jobs
|
||||
// queued in the Core first.
|
||||
QObject::connect(QAbstractEventDispatcher::instance(), &QAbstractEventDispatcher::aboutToBlock,
|
||||
|
Reference in New Issue
Block a user