Fix conditions.
This commit is contained in:
parent
8bf4c85e6e
commit
43db94f4b0
|
@ -1899,7 +1899,7 @@ void QmuParserBase::StackDump(const QStack<token_type> &a_stVal, const QStack<to
|
||||||
}
|
}
|
||||||
stOprt.pop();
|
stOprt.pop();
|
||||||
}
|
}
|
||||||
#if QT_VERSION <= QT_VERSION_CHECK(5, 15, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
|
||||||
qDebug() << dec;
|
qDebug() << dec;
|
||||||
#else
|
#else
|
||||||
qDebug() << Qt::dec;
|
qDebug() << Qt::dec;
|
||||||
|
|
|
@ -156,7 +156,7 @@ void CheckableMessageBox::setText(const QString &t)
|
||||||
// cppcheck-suppress unusedFunction
|
// cppcheck-suppress unusedFunction
|
||||||
QPixmap CheckableMessageBox::iconPixmap() const
|
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())
|
if (const QPixmap *p = d->pixmapLabel->pixmap())
|
||||||
{
|
{
|
||||||
return QPixmap(*p);
|
return QPixmap(*p);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user