Skip to content

Commit

Permalink
Avoid use of QPalette::PlaceholderText to support Qt < 5.12
Browse files Browse the repository at this point in the history
Remove '<colorrole role="PlaceholderText">' elements from UI files
which are apparently added by the designer in newer Qt versions but
break compatibility with older ones.
  • Loading branch information
Martchus committed Mar 10, 2020
1 parent a1d64f9 commit 67f2802
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions gui/renamefilesdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,6 @@
</color>
</brush>
</colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="NoBrush">
<color alpha="128">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="WindowText">
Expand Down Expand Up @@ -427,15 +418,6 @@
</color>
</brush>
</colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="NoBrush">
<color alpha="128">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="WindowText">
Expand Down Expand Up @@ -573,15 +555,6 @@
</color>
</brush>
</colorrole>
<colorrole role="PlaceholderText">
<brush brushstyle="NoBrush">
<color alpha="128">
<red>0</red>
<green>0</green>
<blue>0</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
Expand Down

0 comments on commit 67f2802

Please sign in to comment.