[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/plasma/widgets
From: Marco Martin <notmart () gmail ! com>
Date: 2010-11-29 17:00:27
Message-ID: 20101129170027.12A03AC8A3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1202099 by mart:
fix behaviour of setTabBarShown
M +2 -2 tabbar.cpp
--- trunk/KDE/kdelibs/plasma/widgets/tabbar.cpp #1202098:1202099
@@ -564,7 +564,7 @@
}
d->tabBarShown = show;
- if (!show && d->tabProxy->isVisible()) {
+ if (!show) {
d->tabProxy->hide();
d->tabWidgetLayout->removeItem(d->tabBarLayout);
} else if (show && !d->tabProxy->isVisible()) {
@@ -575,7 +575,7 @@
bool TabBar::isTabBarShown() const
{
- return d->tabProxy->isVisible();
+ return d->tabBarShown;
}
void TabBar::setStyleSheet(const QString &stylesheet)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic