CDB: Fix warning about mixing bool and bitwise logic

Change-Id: Iaf69fd16fa9ba0a5c63b6636d183836accdfd005
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Tobias Hunger
2013-11-13 13:37:25 +01:00
committed by hjk
parent c8c49668fc
commit e6675d26d8

View File

@@ -1392,7 +1392,7 @@ void CdbEngine::postBuiltinCommand(const QByteArray &cmd, unsigned flags,
showMessage(msg, LogError);
return;
}
if (!flags & QuietCommand)
if (!(flags & QuietCommand))
showMessage(QString::fromLocal8Bit(cmd), LogInput);
const int token = m_nextCommandToken++;
@@ -1439,7 +1439,7 @@ void CdbEngine::postExtensionCommand(const QByteArray &cmd,
if (!arguments.isEmpty())
str << ' ' << arguments;
if (!flags & QuietCommand)
if (!(flags & QuietCommand))
showMessage(QString::fromLocal8Bit(fullCmd), LogInput);
CdbExtensionCommandPtr pendingCommand(new CdbExtensionCommand(fullCmd, token, flags, handler, nextCommandFlag, cookie));