summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-30 12:52:13 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-30 12:52:13 (GMT)
commit951ee7c2995b4f5c1a61c72c8f53ff40a3a0b2d4 (patch)
tree44729f2f7835f2c399da3164c4412d98df1cb6c8 /src
parent4d8567b85bf14b1515aafc97c035b2dda2c79b2a (diff)
downloadQt-951ee7c2995b4f5c1a61c72c8f53ff40a3a0b2d4.zip
Qt-951ee7c2995b4f5c1a61c72c8f53ff40a3a0b2d4.tar.gz
Qt-951ee7c2995b4f5c1a61c72c8f53ff40a3a0b2d4.tar.bz2
QDockArea: remove coverity warning
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/qdockarealayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qdockarealayout.cpp b/src/gui/widgets/qdockarealayout.cpp
index 9828413..f245d64 100644
--- a/src/gui/widgets/qdockarealayout.cpp
+++ b/src/gui/widgets/qdockarealayout.cpp
@@ -2074,7 +2074,7 @@ void QDockAreaLayoutInfo::updateTabBar() const
QDockAreaLayoutInfo *that = const_cast<QDockAreaLayoutInfo*>(this);
- if (tabBar == 0) {
+ if (that->tabBar == 0) {
that->tabBar = mainWindowLayout()->getTabBar();
that->tabBar->setShape(static_cast<QTabBar::Shape>(tabBarShape));
that->tabBar->setDrawBase(true);