summaryrefslogtreecommitdiffstats
path: root/src/gui/styles/qstyleoption.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-29 14:10:51 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-29 14:11:15 (GMT)
commit2f85cc0cb758b0efe4d7b5af1b79eda13be970f3 (patch)
treec54cab37a367b18cde6a3f909dbec336465ba71f /src/gui/styles/qstyleoption.cpp
parentd4a80a0161be902aaf0981aa7399b29402a67e5e (diff)
downloadQt-2f85cc0cb758b0efe4d7b5af1b79eda13be970f3.zip
Qt-2f85cc0cb758b0efe4d7b5af1b79eda13be970f3.tar.gz
Qt-2f85cc0cb758b0efe4d7b5af1b79eda13be970f3.tar.bz2
Fix some coverity warnings
Diffstat (limited to 'src/gui/styles/qstyleoption.cpp')
-rw-r--r--src/gui/styles/qstyleoption.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/styles/qstyleoption.cpp b/src/gui/styles/qstyleoption.cpp
index 704f8ba..e174370 100644
--- a/src/gui/styles/qstyleoption.cpp
+++ b/src/gui/styles/qstyleoption.cpp
@@ -3542,7 +3542,8 @@ QStyleOptionQ3DockWindow::QStyleOptionQ3DockWindow(int version)
*/
QStyleOptionDockWidget::QStyleOptionDockWidget()
- : QStyleOption(Version, SO_DockWidget), movable(false)
+ : QStyleOption(Version, SO_DockWidget), closable(false),
+ movable(false), floatable(false)
{
}