Skip to content

Commit b6ba040

Browse files
committed
Update default Welcome page
1 parent c8eeb91 commit b6ba040

File tree

2 files changed

+19
-21
lines changed

2 files changed

+19
-21
lines changed

src/gui/newwizard/pages/serverurlsetupwizardpage.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ ServerUrlSetupWizardPage::ServerUrlSetupWizardPage(const QUrl &serverUrl)
1313
{
1414
_ui->setupUi(this);
1515

16-
_ui->welcomeTextLabel->setText(tr("Welcome to %1").arg(Theme::instance()->appNameGUI()));
17-
1816
// not the best style, but we hacked such branding into the pages elsewhere, too
1917
if (!Theme::instance()->overrideServerUrlV2().isEmpty()) {
2018
// note that the text should be set before the page is displayed, this way validateInput() will enable the next button

src/gui/newwizard/pages/serverurlsetupwizardpage.ui

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
<item>
1818
<spacer name="verticalSpacer_2">
1919
<property name="orientation">
20-
<enum>Qt::Vertical</enum>
20+
<enum>Qt::Orientation::Vertical</enum>
2121
</property>
2222
<property name="sizeType">
23-
<enum>QSizePolicy::MinimumExpanding</enum>
23+
<enum>QSizePolicy::Policy::MinimumExpanding</enum>
2424
</property>
2525
<property name="sizeHint" stdset="0">
2626
<size>
@@ -33,17 +33,17 @@
3333
<item>
3434
<widget class="QLabel" name="logoLabel">
3535
<property name="alignment">
36-
<set>Qt::AlignCenter</set>
36+
<set>Qt::AlignmentFlag::AlignCenter</set>
3737
</property>
3838
</widget>
3939
</item>
4040
<item>
4141
<spacer name="verticalSpacer_4">
4242
<property name="orientation">
43-
<enum>Qt::Vertical</enum>
43+
<enum>Qt::Orientation::Vertical</enum>
4444
</property>
4545
<property name="sizeType">
46-
<enum>QSizePolicy::Minimum</enum>
46+
<enum>QSizePolicy::Policy::Minimum</enum>
4747
</property>
4848
<property name="sizeHint" stdset="0">
4949
<size>
@@ -56,20 +56,20 @@
5656
<item>
5757
<widget class="QLabel" name="welcomeTextLabel">
5858
<property name="text">
59-
<string notr="true">Welcome to &lt;app&gt; (placeholder)</string>
59+
<string>Welcome</string>
6060
</property>
6161
<property name="alignment">
62-
<set>Qt::AlignCenter</set>
62+
<set>Qt::AlignmentFlag::AlignCenter</set>
6363
</property>
6464
</widget>
6565
</item>
6666
<item>
6767
<spacer name="verticalSpacer_3">
6868
<property name="orientation">
69-
<enum>Qt::Vertical</enum>
69+
<enum>Qt::Orientation::Vertical</enum>
7070
</property>
7171
<property name="sizeType">
72-
<enum>QSizePolicy::Minimum</enum>
72+
<enum>QSizePolicy::Policy::Minimum</enum>
7373
</property>
7474
<property name="sizeHint" stdset="0">
7575
<size>
@@ -85,7 +85,7 @@
8585
<string>What is your server's address?</string>
8686
</property>
8787
<property name="alignment">
88-
<set>Qt::AlignCenter</set>
88+
<set>Qt::AlignmentFlag::AlignCenter</set>
8989
</property>
9090
<property name="buddy">
9191
<cstring>urlLineEdit</cstring>
@@ -95,10 +95,10 @@
9595
<item>
9696
<spacer name="verticalSpacer_5">
9797
<property name="orientation">
98-
<enum>Qt::Vertical</enum>
98+
<enum>Qt::Orientation::Vertical</enum>
9999
</property>
100100
<property name="sizeType">
101-
<enum>QSizePolicy::Fixed</enum>
101+
<enum>QSizePolicy::Policy::Fixed</enum>
102102
</property>
103103
<property name="sizeHint" stdset="0">
104104
<size>
@@ -113,10 +113,10 @@
113113
<item>
114114
<spacer name="horizontalSpacer">
115115
<property name="orientation">
116-
<enum>Qt::Horizontal</enum>
116+
<enum>Qt::Orientation::Horizontal</enum>
117117
</property>
118118
<property name="sizeType">
119-
<enum>QSizePolicy::MinimumExpanding</enum>
119+
<enum>QSizePolicy::Policy::MinimumExpanding</enum>
120120
</property>
121121
<property name="sizeHint" stdset="0">
122122
<size>
@@ -141,17 +141,17 @@
141141
</size>
142142
</property>
143143
<property name="alignment">
144-
<set>Qt::AlignCenter</set>
144+
<set>Qt::AlignmentFlag::AlignCenter</set>
145145
</property>
146146
</widget>
147147
</item>
148148
<item>
149149
<spacer name="horizontalSpacer_2">
150150
<property name="orientation">
151-
<enum>Qt::Horizontal</enum>
151+
<enum>Qt::Orientation::Horizontal</enum>
152152
</property>
153153
<property name="sizeType">
154-
<enum>QSizePolicy::MinimumExpanding</enum>
154+
<enum>QSizePolicy::Policy::MinimumExpanding</enum>
155155
</property>
156156
<property name="sizeHint" stdset="0">
157157
<size>
@@ -166,10 +166,10 @@
166166
<item>
167167
<spacer name="verticalSpacer">
168168
<property name="orientation">
169-
<enum>Qt::Vertical</enum>
169+
<enum>Qt::Orientation::Vertical</enum>
170170
</property>
171171
<property name="sizeType">
172-
<enum>QSizePolicy::MinimumExpanding</enum>
172+
<enum>QSizePolicy::Policy::MinimumExpanding</enum>
173173
</property>
174174
<property name="sizeHint" stdset="0">
175175
<size>

0 commit comments

Comments
 (0)