mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Qt: use translations
This commit is contained in:
parent
bdcd6df459
commit
60cba5722c
5 changed files with 348 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue