From 67ad6a14093bbdc024e6ed61dbe0dc31c3d6df67 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 26 Oct 2023 16:12:36 +0300 Subject: [PATCH] Deprecate TabColor setting This is a confusing feature which saves the color of the first tab and makes it the default color in new sessions. As a result, it broke color schemes by overriding the default tab color. This is not related to saving tab colors as part of a session. Signed-off-by: Mavridis Philippe --- konsole/konsole/konsole.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/konsole/konsole/konsole.cpp b/konsole/konsole/konsole.cpp index e18e1772a..815b4f5a0 100644 --- a/konsole/konsole/konsole.cpp +++ b/konsole/konsole/konsole.cpp @@ -1659,10 +1659,6 @@ void Konsole::readProperties(TDEConfig* config, const TQString &schema, bool glo config->setGroup("UTMP"); b_addToUtmp = config->readBoolEntry("AddToUtmp",true); config->setDesktopGroup(); - - // Do not set a default value; this allows the System-wide Scheme - // to set the tab text color. - m_tabColor = config->readColorEntry("TabColor"); } if (!globalConfigOnly) @@ -2032,8 +2028,6 @@ void Konsole::createSessionTab(TEWidget *widget, const TQIconSet &iconSet, tabwidget->insertTab(widget, iconSet, TQString::null, index); break; } - if ( m_tabColor.isValid() ) - tabwidget->setTabColor(widget, m_tabColor); } TQIconSet Konsole::iconSetForSession(TESession *session) const