From 995078d3c690f4cef1227e9ef38be321b1801e3c Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Mon, 30 May 2022 12:48:35 +0300 Subject: [PATCH] Enable workaround on Qt 5.15.0 (#1074) IB-7412 Signed-off-by: Raul Metsma --- client/widgets/LineEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())) {