Make SetMiscWarning() accept bilingual_str argument

This commit is contained in:
Hennadii Stepanov
2020-06-10 12:14:32 +03:00
parent d1ae7c0355
commit d49612f98a
5 changed files with 20 additions and 20 deletions

View File

@@ -95,7 +95,7 @@ void AddTimeData(const CNetAddr& ip, int64_t nOffsetSample)
if (!fMatch) {
fDone = true;
bilingual_str strMessage = strprintf(_("Please check that your computer's date and time are correct! If your clock is wrong, %s will not work properly."), PACKAGE_NAME);
SetMiscWarning(strMessage.translated);
SetMiscWarning(strMessage);
uiInterface.ThreadSafeMessageBox(strMessage, "", CClientUIInterface::MSG_WARNING);
}
}