From 17294c5e4d15d5776f6e414b03671a4a9ed4993d Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Mon, 30 Mar 2015 12:13:05 +0200 Subject: 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 --- src/widgets/styles/qproxystyle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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. */ -- cgit v1.2.3