Fix a couple of crashes. Sync configuration information in SessionManager's destructor and fix problem with scroll optimisation. Not sure about that first one, it shouldn't do any harm, but I don't think it should be necessary either.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670398
This commit is contained in:
Robert Knight
2007-06-01 11:24:11 +00:00
parent 53f7666e8e
commit 17d8d12249
4 changed files with 42 additions and 26 deletions

View File

@@ -574,7 +574,8 @@ void TabbedViewContainerV2::removeViewWidget( QWidget* view )
void TabbedViewContainerV2::setTabActivity(int index , bool activity)
{
const QColor activityColor = _tabBar->palette().highlight().color();
const QColor activityColor = _tabBar->palette()
.highlight().color().dark(120);
const QColor normalColor = _tabBar->palette().text().color();
QColor color = activity ? activityColor : normalColor;