diff options
author | chenbin <chenbina@uniontech.com> | 2021-09-03 11:52:11 +0800 |
---|---|---|
committer | chenbin <chenbina@uniontech.com> | 2021-09-06 09:49:46 +0800 |
commit | 0624eba1b1a285db47cd7aee044efdaee9aed7fd (patch) | |
tree | 0009f6f0afd71a9a5792f0d122cb59924223f505 /src/widgets/doc | |
parent | d2cad026c7c354ee94595c3a5f99e046c437d2aa (diff) |
Partially modified to use C++11 standard nullptr
Change-Id: I0542c47d1979235206005bf603822b6ea415f2da
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/doc')
-rw-r--r-- | src/widgets/doc/snippets/qstyleplugin/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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] |