Use qInfo() if no error occurs
qWarning() is used to report warnings and recoverable errors in your application. qInfo() is used for informational messages (since Qt 5.5).
This commit is contained in:
parent
32e9453818
commit
a2aabfb749
4 changed files with 4 additions and 4 deletions
|
@ -330,7 +330,7 @@ void BitcoinApplication::initializeResult(bool success)
|
|||
if(success)
|
||||
{
|
||||
// Log this only after AppInitMain finishes, as then logging setup is guaranteed complete
|
||||
qWarning() << "Platform customization:" << platformStyle->getName();
|
||||
qInfo() << "Platform customization:" << platformStyle->getName();
|
||||
#ifdef ENABLE_WALLET
|
||||
m_wallet_controller = new WalletController(m_node, platformStyle, optionsModel, this);
|
||||
#ifdef ENABLE_BIP70
|
||||
|
|
|
@ -172,7 +172,7 @@ static void CopySettings(QSettings& dst, const QSettings& src)
|
|||
/** Back up a QSettings to an ini-formatted file. */
|
||||
static void BackupSettings(const fs::path& filename, const QSettings& src)
|
||||
{
|
||||
qWarning() << "Backing up GUI settings to" << GUIUtil::boostPathToQString(filename);
|
||||
qInfo() << "Backing up GUI settings to" << GUIUtil::boostPathToQString(filename);
|
||||
QSettings dst(GUIUtil::boostPathToQString(filename), QSettings::IniFormat);
|
||||
dst.clear();
|
||||
CopySettings(dst, src);
|
||||
|
|
|
@ -488,7 +488,7 @@ void PaymentServer::LoadRootCAs(X509_STORE* _store)
|
|||
continue;
|
||||
}
|
||||
}
|
||||
qWarning() << "PaymentServer::LoadRootCAs: Loaded " << nRootCerts << " root certificates";
|
||||
qInfo() << "PaymentServer::LoadRootCAs: Loaded " << nRootCerts << " root certificates";
|
||||
|
||||
// Project for another day:
|
||||
// Fetch certificate revocation lists, and add them to certStore.
|
||||
|
|
|
@ -63,7 +63,7 @@ void WinShutdownMonitor::registerShutdownBlockReason(const QString& strReason, c
|
|||
}
|
||||
|
||||
if (shutdownBRCreate(mainWinId, strReason.toStdWString().c_str()))
|
||||
qWarning() << "registerShutdownBlockReason: Successfully registered: " + strReason;
|
||||
qInfo() << "registerShutdownBlockReason: Successfully registered: " + strReason;
|
||||
else
|
||||
qWarning() << "registerShutdownBlockReason: Failed to register: " + strReason;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue