diff options
author | Debao Zhang <dbzhang800@gmail.com> | 2012-03-17 03:18:12 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-20 08:53:39 +0100 |
commit | e7adaed5298cb9fc7c41ec33b68a7d584d709674 (patch) | |
tree | e61588eb3757811c9aef2e25ad1fdfcc825a7717 /src/widgets/styles/qplastiquestyle.cpp | |
parent | 84ef7704a85c3fee8080ac5c4f1a0922e79e0222 (diff) |
QtWidgets: Cleanup Q3* items
Clear all the Q3* items away,
expect QStyle::SH_Q3ListViewExpand_SelectMouseType which is still used
by QTreeView. So simply removed Q3 from its name.
Change-Id: Ia79f0283137b6751ba68791ae55df1d8bd7ea74a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/widgets/styles/qplastiquestyle.cpp')
-rw-r--r-- | src/widgets/styles/qplastiquestyle.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/widgets/styles/qplastiquestyle.cpp b/src/widgets/styles/qplastiquestyle.cpp index 79893f066d..0bf443fe00 100644 --- a/src/widgets/styles/qplastiquestyle.cpp +++ b/src/widgets/styles/qplastiquestyle.cpp @@ -5631,8 +5631,7 @@ void QPlastiqueStyle::polish(QWidget *widget) if (widget->inherits("QWorkspaceTitleBar") || widget->inherits("QDockSeparator") - || widget->inherits("QDockWidgetSeparator") - || widget->inherits("Q3DockWindowResizeHandle")) { + || widget->inherits("QDockWidgetSeparator")) { widget->setAttribute(Qt::WA_Hover); } @@ -5687,8 +5686,7 @@ void QPlastiqueStyle::unpolish(QWidget *widget) if (widget->inherits("QWorkspaceTitleBar") || widget->inherits("QDockSeparator") - || widget->inherits("QDockWidgetSeparator") - || widget->inherits("Q3DockWindowResizeHandle")) { + || widget->inherits("QDockWidgetSeparator")) { widget->setAttribute(Qt::WA_Hover, false); } |