Fix conditions.

This commit is contained in:
Roman Telezhynskyi 2020-07-06 15:37:41 +03:00
parent 8bf4c85e6e
commit 43db94f4b0
2 changed files with 2 additions and 2 deletions

View File

@ -1899,7 +1899,7 @@ void QmuParserBase::StackDump(const QStack<token_type> &a_stVal, const QStack<to
}
stOprt.pop();
}
#if QT_VERSION <= QT_VERSION_CHECK(5, 15, 0)
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
qDebug() << dec;
#else
qDebug() << Qt::dec;

View File

@ -156,7 +156,7 @@ void CheckableMessageBox::setText(const QString &t)
// cppcheck-suppress unusedFunction
QPixmap CheckableMessageBox::iconPixmap() const
{
#if QT_VERSION <= QT_VERSION_CHECK(5, 15, 0)
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
if (const QPixmap *p = d->pixmapLabel->pixmap())
{
return QPixmap(*p);