From ea104efa34592a68086704fd8d45b677b2bc5eb6 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 27 Nov 2012 18:06:22 +0100 Subject: 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 --- src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp') diff --git a/src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp b/src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp index ea7933fe53..aa562078a6 100644 --- a/src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp +++ b/src/widgets/doc/snippets/code/src_gui_kernel_qapplication.cpp @@ -61,7 +61,7 @@ int main(int argc, char **argv) //! [1] -QApplication::setStyle(new QWindowsStyle); +QApplication::setStyle(QStyleFactory::create("Fusion")); //! [1] -- cgit v1.2.3