path: root/src
diff options
authorMartin Smith <>2015-03-30 12:13:05 +0200
committerMartin Smith <>2015-03-31 07:13:26 +0000
commit17294c5e4d15d5776f6e414b03671a4a9ed4993d (patch)
tree34142f886f4ab0d1470f5417680d828452010001 /src
parent00f5d2649962e7186d89df859faaff6d96dfb06d (diff)
doc: Correct error in QProxyStyle() doc.
Constructing the QProxyStle object with a null QStyle pointer causes the QProxyStyle to use the default native style. Change-Id: If624ed7a805aef839ca8a51242d12b2f6d777e83 Task-number: QTBUG-42231 Reviewed-by: Venugopal Shivashankar <>
Diffstat (limited to 'src')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/styles/qproxystyle.cpp b/src/widgets/styles/qproxystyle.cpp
index 4b1c58dc50..61f836b23c 100644
--- a/src/widgets/styles/qproxystyle.cpp
+++ b/src/widgets/styles/qproxystyle.cpp
@@ -101,8 +101,8 @@ void QProxyStylePrivate::ensureBaseStyle() const
Constructs a QProxyStyle object for overriding behavior in the
- specified base \a style, or in the current \l{QApplication::style()}
- {application style} if base \a style is not specified.
+ specified \a style, or in the default native \l{QApplication::style()}
+ {style} if \a style is not specified.
Ownership of \a style is transferred to QProxyStyle.