Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
adec3b62
Commit
adec3b62
authored
Sep 18, 2022
by
Christoph Cullmann
🍨
Committed by
Eric Armbruster
Sep 19, 2022
Browse files
ensure proper title
parent
07770bdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
apps/lib/welcomeview.cpp
View file @
adec3b62
...
...
@@ -23,6 +23,7 @@
#include
<klocalizedstring.h>
#include
"kateapp.h"
#include
"kateviewspace.h"
#include
"recentitemsmodel.h"
...
...
@@ -125,6 +126,8 @@ WelcomeView::WelcomeView(QWidget *parent)
setWindowTitle
(
i18n
(
"Welcome"
));
// ensure proper title and icon for both applications
welcomeLabel
->
setText
(
KateApp
::
isKate
()
?
i18n
(
"Welcome to Kate"
)
:
i18n
(
"Welcome to KWrite"
));
appIcon
->
setPixmap
(
qApp
->
windowIcon
().
pixmap
(
KIconLoader
::
SizeEnormous
,
KIconLoader
::
SizeEnormous
));
connect
(
openButton
,
&
QPushButton
::
clicked
,
this
,
&
WelcomeView
::
openClicked
);
...
...
apps/lib/welcomeview.ui
View file @
adec3b62
...
...
@@ -134,7 +134,7 @@
<number>
0
</number>
</property>
<item>
<widget
class=
"QLabel"
name=
"
l
abel"
>
<widget
class=
"QLabel"
name=
"
welcomeL
abel"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Preferred"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment