Skip to content

Commit

Permalink
Enable workaround on Qt 5.15.0 (open-eid#1074)
Browse files Browse the repository at this point in the history
IB-7412

Signed-off-by: Raul Metsma <[email protected]>
  • Loading branch information
metsma authored May 30, 2022
1 parent 94adb1c commit 995078d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/widgets/LineEdit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
{
Expand Down

0 comments on commit 995078d

Please sign in to comment.