diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-05-19 17:36:01 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-06-16 10:21:41 +0200 |
commit | be77b637fcf5983286382a9b9677fb97b026abe2 (patch) | |
tree | 7629a57d8c6372b86319bd54a40217ace9ee6805 /bitcoin-qt.pro | |
parent | e58154c447670a546936b850f0bba4de087a1583 (diff) |
qt: allow user to choose data directory
This adds an introduction screen that is shown when the client is first
started in which the user can choose a data directory.
It is also possible to force the intro screen to appear using command
line argument `-choosedatadir`.
The user is warned that the client will download and store 10Gb of data.
The intro screen shows how much space is available on the device that
contains the chosen directory and warns if this is less than the 10Gb.
To make it possible to translate the introduction dialog, the initialization
sequence is changed so that translations are
loaded before the data directory. This has the by-effect that it is
no longer possible to specify a language in bitcoin.conf inside the data
directory.
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r-- | bitcoin-qt.pro | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index 8f49dccee3..6be4d3bf83 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -213,7 +213,8 @@ HEADERS += src/qt/bitcoingui.h \ src/leveldb.h \ src/threadsafety.h \ src/limitedmap.h \ - src/qt/splashscreen.h + src/qt/splashscreen.h \ + src/qt/intro.h SOURCES += src/qt/bitcoin.cpp \ src/qt/bitcoingui.cpp \ @@ -282,7 +283,8 @@ SOURCES += src/qt/bitcoin.cpp \ src/noui.cpp \ src/leveldb.cpp \ src/txdb.cpp \ - src/qt/splashscreen.cpp + src/qt/splashscreen.cpp \ + src/qt/intro.cpp RESOURCES += src/qt/bitcoin.qrc @@ -296,7 +298,8 @@ FORMS += src/qt/forms/sendcoinsdialog.ui \ src/qt/forms/sendcoinsentry.ui \ src/qt/forms/askpassphrasedialog.ui \ src/qt/forms/rpcconsole.ui \ - src/qt/forms/optionsdialog.ui + src/qt/forms/optionsdialog.ui \ + src/qt/forms/intro.ui contains(USE_QRCODE, 1) { HEADERS += src/qt/qrcodedialog.h |