Commit d1e5296e authored by Andrew Smith's avatar Andrew Smith Committed by Kurt Hindenburg

Remove option to hide application name from titlebar

Summary:
Since the application name is added by Qt, it is no longer
possible to remove the trailing '- Konsole' so the GUI
option is obsolete.

BUG: 364391
FIXED-IN: 19.03

Test Plan:
Change settings for existing Konsole and notice that the checkbox
doesn't change anything. After applying this the checkbox should
be removed.

Reviewers: #konsole, konsole-devel, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D17049
parent 8adad74f
...@@ -296,11 +296,7 @@ void MainWindow::updateWindowCaption() ...@@ -296,11 +296,7 @@ void MainWindow::updateWindowCaption()
!userTitle.isEmpty() ? caption = userTitle : caption = QStringLiteral(" "); !userTitle.isEmpty() ? caption = userTitle : caption = QStringLiteral(" ");
} }
if (KonsoleSettings::showAppNameOnTitleBar()) { setCaption(caption);
setCaption(caption);
} else {
setPlainCaption(caption);
}
} }
void MainWindow::updateWindowIcon() void MainWindow::updateWindowIcon()
......
...@@ -112,19 +112,6 @@ ...@@ -112,19 +112,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="6" column="0">
<widget class="QCheckBox" name="kcfg_ShowAppNameOnTitleBar">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Show application name on the titlebar</string>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
......
...@@ -15,11 +15,6 @@ ...@@ -15,11 +15,6 @@
<tooltip>Show window title set by escape sequence on the titlebar</tooltip> <tooltip>Show window title set by escape sequence on the titlebar</tooltip>
<default>false</default> <default>false</default>
</entry> </entry>
<entry name="ShowAppNameOnTitleBar" type="Bool">
<label>Show "- Konsole" on the titlebar</label>
<tooltip>Show "- Konsole" on the titlebar</tooltip>
<default>true</default>
</entry>
<entry name="AllowMenuAccelerators" type="Bool"> <entry name="AllowMenuAccelerators" type="Bool">
<label>Enable menu accelerators</label> <label>Enable menu accelerators</label>
<tooltip>Allow users to access top menu through Alt+Key combination</tooltip> <tooltip>Allow users to access top menu through Alt+Key combination</tooltip>
......
Markdown is supported
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