Commit adec3b62 authored by Christoph Cullmann's avatar Christoph Cullmann 🍨 Committed by Eric Armbruster
Browse files

ensure proper title

parent 07770bdc
......@@ -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);
......
......@@ -134,7 +134,7 @@
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label">
<widget class="QLabel" name="welcomeLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment