From a14a943f9ac3d1e85514d7fb6688c84e624ac850 Mon Sep 17 00:00:00 2001 From: Andre Hartmann Date: Fri, 11 May 2018 16:31:51 +0200 Subject: Examples: Cleanup and modernize Plug&Paint * Use C++11 member init * Use auto where appropriate * Replace foreach with range-for * Replace last Qt4-style connects * Sort includes to common style * Fix some Clang warnings Task-number: QTBUG-60635 Change-Id: I61c98b34b954e416dd175b56ca589125217083de Reviewed-by: Venugopal Shivashankar Reviewed-by: Paul Wicking Reviewed-by: Richard Moe Gustavsen --- examples/widgets/tools/plugandpaint/app/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/widgets/tools/plugandpaint/app/main.cpp') diff --git a/examples/widgets/tools/plugandpaint/app/main.cpp b/examples/widgets/tools/plugandpaint/app/main.cpp index f157957da5..f50fd86b97 100644 --- a/examples/widgets/tools/plugandpaint/app/main.cpp +++ b/examples/widgets/tools/plugandpaint/app/main.cpp @@ -50,8 +50,9 @@ //! [0] #include "mainwindow.h" -#include + #include +#include Q_IMPORT_PLUGIN(BasicToolsPlugin) -- cgit v1.2.3