diff options
author | Debao Zhang <dbzhang800@gmail.com> | 2012-03-20 20:21:30 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-23 13:22:10 +0100 |
commit | 2f2b78321427daa8c7f0702140c297d22b0bf3c8 (patch) | |
tree | ed358dc4de958dc7e52be1dc8282237c3f073969 /src/widgets/styles/qcleanlooksstyle.cpp | |
parent | f31e614245e796c7f82ec33eed708902d4d01521 (diff) |
Remove QWorkspace.
QWorkspace had been called Q3Workspace before Qt4.0 finally released.
In a sense, it is a Qt3 support Widget. And QWorkspace has been
deprecated and replaced by QMdiArea at Qt4.3.
Change-Id: Iea1bf831c9960c23c2b21d51fdc7c13b303642ea
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/widgets/styles/qcleanlooksstyle.cpp')
-rw-r--r-- | src/widgets/styles/qcleanlooksstyle.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/widgets/styles/qcleanlooksstyle.cpp b/src/widgets/styles/qcleanlooksstyle.cpp index 67b3c59b29..d617ee7e6f 100644 --- a/src/widgets/styles/qcleanlooksstyle.cpp +++ b/src/widgets/styles/qcleanlooksstyle.cpp @@ -3906,7 +3906,6 @@ void QCleanlooksStyle::polish(QWidget *widget) #ifndef QT_NO_SPINBOX || qobject_cast<QAbstractSpinBox *>(widget) #endif - || (widget->inherits("QWorkspaceChild")) || (widget->inherits("QDockSeparator")) || (widget->inherits("QDockWidgetSeparator")) ) { @@ -3953,7 +3952,6 @@ void QCleanlooksStyle::unpolish(QWidget *widget) #ifndef QT_NO_SPINBOX || qobject_cast<QAbstractSpinBox *>(widget) #endif - || (widget->inherits("QWorkspaceChild")) || (widget->inherits("QDockSeparator")) || (widget->inherits("QDockWidgetSeparator")) ) { |