diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-29 14:10:51 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-29 14:11:15 (GMT) |
commit | 2f85cc0cb758b0efe4d7b5af1b79eda13be970f3 (patch) | |
tree | c54cab37a367b18cde6a3f909dbec336465ba71f /src/gui/widgets/qdockarealayout.cpp | |
parent | d4a80a0161be902aaf0981aa7399b29402a67e5e (diff) | |
download | Qt-2f85cc0cb758b0efe4d7b5af1b79eda13be970f3.zip Qt-2f85cc0cb758b0efe4d7b5af1b79eda13be970f3.tar.gz Qt-2f85cc0cb758b0efe4d7b5af1b79eda13be970f3.tar.bz2 |
Fix some coverity warnings
Diffstat (limited to 'src/gui/widgets/qdockarealayout.cpp')
-rw-r--r-- | src/gui/widgets/qdockarealayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/qdockarealayout.cpp b/src/gui/widgets/qdockarealayout.cpp index ea5e323..9828413 100644 --- a/src/gui/widgets/qdockarealayout.cpp +++ b/src/gui/widgets/qdockarealayout.cpp @@ -223,7 +223,7 @@ static quintptr tabId(const QDockAreaLayoutItem &item) QDockAreaLayoutInfo::QDockAreaLayoutInfo() : sep(0), dockPos(QInternal::LeftDock), o(Qt::Horizontal), mainWindow(0) #ifndef QT_NO_TABBAR - , tabbed(false), tabBar(0), tabBarShape(QTabBar::RoundedSouth) + , tabbed(false), tabBar(0), tabBarShape(QTabBar::RoundedSouth), tabBarVisible(false) #endif { } @@ -233,7 +233,7 @@ QDockAreaLayoutInfo::QDockAreaLayoutInfo(int _sep, QInternal::DockPosition _dock QMainWindow *window) : sep(_sep), dockPos(_dockPos), o(_o), mainWindow(window) #ifndef QT_NO_TABBAR - , tabbed(false), tabBar(0), tabBarShape(static_cast<QTabBar::Shape>(tbshape)) + , tabbed(false), tabBar(0), tabBarShape(static_cast<QTabBar::Shape>(tbshape)), tabBarVisible(false) #endif { #ifdef QT_NO_TABBAR |