Reset button text to default

This is to avoid Qt auto-generating code like this:
  `buttonAdd->setText(QStringLiteral(""));`
Which makes no sense and triggers clazy warning (Wclazy-empty-qstringliteral).
This commit is contained in:
Chocobo1 2018-08-20 15:29:59 +08:00
parent 254782def6
commit 718b3f0bf5
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
3 changed files with 4 additions and 23 deletions

View File

@ -45,11 +45,7 @@
</spacer>
</item>
<item>
<widget class="QToolButton" name="buttonAdd">
<property name="text">
<string notr="true"/>
</property>
</widget>
<widget class="QToolButton" name="buttonAdd"/>
</item>
<item>
<spacer name="verticalSpacer">
@ -68,11 +64,7 @@
</spacer>
</item>
<item>
<widget class="QToolButton" name="buttonDelete">
<property name="text">
<string notr="true"/>
</property>
</widget>
<widget class="QToolButton" name="buttonDelete"/>
</item>
<item>
<spacer name="verticalSpacer_3">

View File

@ -66,9 +66,6 @@
<property name="toolTip">
<string>Remember choice</string>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="iconSize">
<size>
<width>24</width>

View File

@ -2987,11 +2987,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.</string>
</property>
<layout class="QGridLayout" name="gridLayout_11">
<item row="0" column="0">
<widget class="QLabel" name="lblSslCertStatus">
<property name="text">
<string notr="true"/>
</property>
</widget>
<widget class="QLabel" name="lblSslCertStatus"/>
</item>
<item row="0" column="1">
<widget class="QLabel" name="lblWebUiCrt">
@ -3028,11 +3024,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.</string>
</layout>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblSslKeyStatus">
<property name="text">
<string notr="true"/>
</property>
</widget>
<widget class="QLabel" name="lblSslKeyStatus"/>
</item>
<item row="1" column="1">
<widget class="QLabel" name="lblWebUiKey">