diff options
| author | Cory Fields <[email protected]> | 2013-05-26 14:00:16 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2013-06-04 03:54:14 -0400 |
| commit | 13c84b3bd550f93bf6c2bf57677a08a1ea858c60 (patch) | |
| tree | 5c9b91ad4cf68647d933ff9936a273d4c93ab8cd /src/qt/bitcoin.cpp | |
| parent | build: split the non-gui startup routines into a new file (diff) | |
| download | discoin-13c84b3bd550f93bf6c2bf57677a08a1ea858c60.tar.xz discoin-13c84b3bd550f93bf6c2bf57677a08a1ea858c60.zip | |
build: add global var for whether or not the gui is enabled
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 73a5a12ef..76e88b36a 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -113,6 +113,8 @@ static void handleRunawayException(std::exception *e) #ifndef BITCOIN_QT_TEST int main(int argc, char *argv[]) { + fHaveGUI = true; + // Command-line options take precedence: ParseParameters(argc, argv); |