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

3
src/gui/deletionconfirmationdialog.ui

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

12
src/gui/optionsdialog.ui

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

Loading…
Cancel
Save