No more fHaveGUI

No more specific handling of GUI in bitcoin core.
Replace the last usage of fHaveGUI with a fForceServer
parameter on AppInit2.
This commit is contained in:
Wladimir J. van der Laan
2013-11-04 14:36:49 +01:00
parent 97f844dd95
commit e30bd78f81
5 changed files with 5 additions and 12 deletions

View File

@@ -108,7 +108,7 @@ bool AppInit(int argc, char* argv[])
#endif
detectShutdownThread = new boost::thread(boost::bind(&DetectShutdownThread, &threadGroup));
fRet = AppInit2(threadGroup);
fRet = AppInit2(threadGroup, true);
}
catch (std::exception& e) {
PrintExceptionContinue(&e, "AppInit()");
@@ -142,7 +142,6 @@ extern void noui_connect();
int main(int argc, char* argv[])
{
bool fRet = false;
fHaveGUI = false;
// Connect bitcoind signal handlers
noui_connect();