build: add global var for whether or not the gui is enabled

This commit is contained in:
Cory Fields
2013-05-26 14:00:16 -04:00
parent c862d2ff22
commit 13c84b3bd5
4 changed files with 5 additions and 0 deletions

View File

@@ -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);