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:41:25 +0200
commit67ad6a14093bbdc024e6ed61dbe0dc31c3d6df67 (patch)
tree0971fe653fba5b7ee1b788cb943ad6507f1e79ac
parentdbe0a64f05e35eb0a625a70de9ebc3d86b4ef656 (diff)
downloadtdebase-67ad6a14093bbdc024e6ed61dbe0dc31c3d6df67.tar.gz
tdebase-67ad6a14093bbdc024e6ed61dbe0dc31c3d6df67.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>
-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