summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/customviewstyle.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2012-11-27 18:06:22 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-28 13:13:35 +0100
commitea104efa34592a68086704fd8d45b677b2bc5eb6 (patch)
tree70765303526ce10c1ef1166ff86a04675c239466 /src/widgets/doc/snippets/customviewstyle.cpp
parentf4b80c1210e444ad7454abfb80ba166ce2e2a5f2 (diff)
Style docs & snippets: remove references to QWindowsStyle
QWindowsStyle is being made internal. Use either QProxyStyle for customizing existing styles or QCommonStyle to implement full custom styles. Change-Id: Ic81696abc61a3c012a3775efc0b4fba2e1dab4bb Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/widgets/doc/snippets/customviewstyle.cpp')
-rw-r--r--src/widgets/doc/snippets/customviewstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/doc/snippets/customviewstyle.cpp b/src/widgets/doc/snippets/customviewstyle.cpp
index f23e115297..1c849617da 100644
--- a/src/widgets/doc/snippets/customviewstyle.cpp
+++ b/src/widgets/doc/snippets/customviewstyle.cpp
@@ -63,7 +63,7 @@ void CustomViewStyle::drawPrimitive(PrimitiveElement element, const QStyleOption
break;
}
default:
- QWindowsStyle::drawPrimitive(element, option, painter, widget);
+ QProxyStyle::drawPrimitive(element, option, painter, widget);
}
//![0]
}