Merge pull request #690 from runeksvendsen/qt-cmdline-options-parsing

When using Qt GUI, move parameter-parsing to start of qt/bitcoin.cpp:main()
This commit is contained in:
Gavin Andresen
2011-12-19 12:23:00 -08:00
2 changed files with 5 additions and 0 deletions

View File

@@ -120,6 +120,8 @@ int main(int argc, char *argv[])
Q_INIT_RESOURCE(bitcoin);
QApplication app(argc, argv);
ParseParameters(argc, argv);
// Load language files for system locale:
// - First load the translator for the base language, without territory
// - Then load the more specific locale translator