summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2023-10-26 16:12:36 +0300
committerMavridis Philippe <mavridisf@gmail.com>2023-11-02 10:49:08 +0200
commite3908518a6c58fde44345d169eb850854e9a0371 (patch)
tree991620de5c0452da6f3ccfd4eb5758c3ce1ef535
parentc7cfaf2005977661a117cebc3962468952951731 (diff)
downloadtdebase-e3908518a6c58fde44345d169eb850854e9a0371.tar.gz
tdebase-e3908518a6c58fde44345d169eb850854e9a0371.zip
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 67ad6a14093bbdc024e6ed61dbe0dc31c3d6df67)
-rw-r--r--konsole/konsole/konsole.cpp6
1 files changed, 0 insertions, 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