aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-12-19 12:23:00 -0800
committerGavin Andresen <gavinandresen@gmail.com>2011-12-19 12:23:00 -0800
commit3528650560a2c417da2303869c743da019defc6d (patch)
tree2fad076c1d8edd824a4e8b8b9fb6261627ea6683 /src/qt
parentbafb43d6c18c1bf7eb1fcc04bed85e45bd03e961 (diff)
parent4dba26620cf1015b8e980ce3e401d15c64e1169d (diff)
Merge pull request #690 from runeksvendsen/qt-cmdline-options-parsing
When using Qt GUI, move parameter-parsing to start of qt/bitcoin.cpp:main()
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index dd326a690f..cba4e851b4 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -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