From 0624eba1b1a285db47cd7aee044efdaee9aed7fd Mon Sep 17 00:00:00 2001 From: chenbin Date: Fri, 3 Sep 2021 11:52:11 +0800 Subject: Partially modified to use C++11 standard nullptr Change-Id: I0542c47d1979235206005bf603822b6ea415f2da Reviewed-by: Thiago Macieira --- src/widgets/doc/snippets/qstyleplugin/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/doc') diff --git a/src/widgets/doc/snippets/qstyleplugin/main.cpp b/src/widgets/doc/snippets/qstyleplugin/main.cpp index 3a3a42be16..9eac992a9a 100644 --- a/src/widgets/doc/snippets/qstyleplugin/main.cpp +++ b/src/widgets/doc/snippets/qstyleplugin/main.cpp @@ -95,7 +95,7 @@ QStyle *MyStylePlugin::create(const QString &key) } else if (lcKey == "starbuster") { return new StarBusterStyle; } - return 0; + return nullptr; } //! [1] -- cgit v1.2.3