diff --git a/client/widgets/LineEdit.cpp b/client/widgets/LineEdit.cpp index a5b3de913..2da21544d 100644 --- a/client/widgets/LineEdit.cpp +++ b/client/widgets/LineEdit.cpp @@ -27,7 +27,7 @@ LineEdit::LineEdit(QWidget *parent) void LineEdit::paintEvent(QPaintEvent *event) { -#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) +#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) // Workaround QTBUG-92199 if(text().isEmpty() && (!placeholderText().isEmpty() || !placeholder.isEmpty())) {