Merge pull request #5356

7357893 Prioritize and display -testsafemode status in UI (dexX7)
This commit is contained in:
Wladimir J. van der Laan 2014-11-24 08:36:46 +01:00
commit c24d07554b
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -3221,12 +3221,12 @@ string GetWarnings(string strFor)
string strStatusBar;
string strRPC;
if (GetBoolArg("-testsafemode", false))
strRPC = "test";
if (!CLIENT_VERSION_IS_RELEASE)
strStatusBar = _("This is a pre-release test build - use at your own risk - do not use for mining or merchant applications");
if (GetBoolArg("-testsafemode", false))
strStatusBar = strRPC = "testsafemode enabled";
// Misc warnings like out of disk space and clock is wrong
if (strMiscWarning != "")
{