diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 06513049..4f6c388a 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -272,7 +272,11 @@ void MainWindow::updateWindowCaption()
caption = userTitle;
}
- setCaption(caption);
+ if (KonsoleSettings::showAppNameOnTitleBar()) {
+ setCaption(caption);
+ } else {
+ setPlainCaption(caption);
+ }
}
void MainWindow::updateWindowIcon()
diff --git a/src/settings/GeneralSettings.ui b/src/settings/GeneralSettings.ui
index 78410675..20b7a29d 100644
--- a/src/settings/GeneralSettings.ui
+++ b/src/settings/GeneralSettings.ui
@@ -93,6 +93,19 @@
+ -
+
+
+
+ 0
+ 0
+
+
+
+ Show application name on the titlebar
+
+
+
diff --git a/src/settings/konsole.kcfg b/src/settings/konsole.kcfg
index b850d9ad..0b14bfe1 100644
--- a/src/settings/konsole.kcfg
+++ b/src/settings/konsole.kcfg
@@ -15,6 +15,11 @@
Show window title set by escape sequence on the titlebar
false
+
+
+ Show "- Konsole" on the titlebar
+ true
+
Allow users to access top menu through Alt+Key combination