aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-11-04 14:36:49 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-04 14:36:49 +0100
commite30bd78f8133fe55ff0bf9e0d6a47a58357d9056 (patch)
tree5ce93d6b2752fecb2267b967b8b34278ca17134b /src/qt/bitcoin.cpp
parent97f844dd95c54b0fe2f2a1bb006c74ff544ff125 (diff)
downloadbitcoin-e30bd78f8133fe55ff0bf9e0d6a47a58357d9056.tar.xz
No more fHaveGUI
No more specific handling of GUI in bitcoin core. Replace the last usage of fHaveGUI with a fForceServer parameter on AppInit2.
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index 09f2a53680..b6f95b5446 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -173,8 +173,6 @@ int main(int argc, char *argv[])
bool fMissingDatadir = false;
bool fSelParFromCLFailed = false;
- fHaveGUI = true;
-
// Command-line options take precedence:
ParseParameters(argc, argv);
// ... then bitcoin.conf:
@@ -293,7 +291,7 @@ int main(int argc, char *argv[])
QObject::connect(pollShutdownTimer, SIGNAL(timeout()), guiref, SLOT(detectShutdown()));
pollShutdownTimer->start(200);
- if(AppInit2(threadGroup))
+ if(AppInit2(threadGroup, false))
{
{
// Put this in a block, so that the Model objects are cleaned up before