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 <mavridisf@gmail.com>
(cherry picked from commit 67ad6a1409)
r14.1.x
Mavridis Philippe 6 months ago
parent c7cfaf2005
commit e3908518a6
No known key found for this signature in database
GPG Key ID: 93F66F98F906147D

@ -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

Loading…
Cancel
Save