Skip to content

Commit

Permalink
Fix visibility of info buttons and details when updater is disabled i…
Browse files Browse the repository at this point in the history
…n general settings

Signed-off-by: Claudio Cambra <[email protected]>

[skip ci]
  • Loading branch information
claucambra authored and backportbot[bot] committed Jul 19, 2024
1 parent aad1297 commit 7031a9f
Showing 1 changed file with 34 additions and 15 deletions.
49 changes: 34 additions & 15 deletions src/gui/generalsettings.ui
Original file line number Diff line number Diff line change
Expand Up @@ -233,21 +233,9 @@
</item>
<item>
<widget class="QFrame" name="updatesContainer">
<layout class="QVBoxLayout" name="verticalLayout_5">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<layout class="QVBoxLayout" name="updatesLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<layout class="QHBoxLayout" name="updatesLayout_1">
<item>
<widget class="QLabel" name="updateChannelLabel">
<property name="sizePolicy">
Expand Down Expand Up @@ -310,7 +298,7 @@
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<layout class="QHBoxLayout" name="updatesLayout_2">
<item>
<widget class="QCheckBox" name="autoCheckForUpdatesCheckBox">
<property name="sizePolicy">
Expand Down Expand Up @@ -389,6 +377,37 @@
</layout>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="infoContainer">
<item>
<widget class="QPushButton" name="usageDocumentationButton">
<property name="text">
<string>Usage Documentation</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="legalNoticeButton">
<property name="text">
<string>Legal Notice</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
Expand Down

0 comments on commit 7031a9f

Please sign in to comment.