Browse Source

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).
adaptive-webui-19844
Chocobo1 6 years ago
parent
commit
718b3f0bf5
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 12
      src/gui/cookiesdialog.ui
  2. 3
      src/gui/deletionconfirmationdialog.ui
  3. 12
      src/gui/optionsdialog.ui

12
src/gui/cookiesdialog.ui

@ -45,11 +45,7 @@ @@ -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 @@ @@ -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">

3
src/gui/deletionconfirmationdialog.ui

@ -66,9 +66,6 @@ @@ -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>

12
src/gui/optionsdialog.ui

@ -2987,11 +2987,7 @@ Use ';' to split multiple entries. Can use wildcard '*'.</string> @@ -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> @@ -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">

Loading…
Cancel
Save