From af0714af69bcd371b9e588ce59d07f60e2a4410d Mon Sep 17 00:00:00 2001 From: RJ Ryan Date: Mon, 25 Apr 2016 12:46:45 -0700 Subject: Spring cleaning: Apply clang-tidy to src/widget. Using LLVM 3.8.0: $ clang-tidy --fix --checks="*,-llvm-header-guard,-readability-implicit-bool-cast,-readability-else-after-return,-google-readability-todo" $(git ls src/widget | xargs) -- (flags to compile) --- src/widget/wsingletoncontainer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widget/wsingletoncontainer.h') diff --git a/src/widget/wsingletoncontainer.h b/src/widget/wsingletoncontainer.h index 661c51fdf2..621f068188 100644 --- a/src/widget/wsingletoncontainer.h +++ b/src/widget/wsingletoncontainer.h @@ -56,12 +56,12 @@ class WSingletonContainer : public WWidgetGroup { public: // Prepares the container and remembers the widget, but does not add the // widget to the container. - WSingletonContainer(QWidget* pParent=NULL); + explicit WSingletonContainer(QWidget* pParent=nullptr); virtual void setup(QDomNode node, const SkinContext& context); public slots: - virtual void showEvent(QShowEvent* event); + void showEvent(QShowEvent* event) override; private: QPointer m_pWidget; -- cgit v1.2.3