summaryrefslogtreecommitdiffstats
path: root/src/widget/wsingletoncontainer.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2016-04-25 12:46:45 -0700
committerRJ Ryan <rryan@mixxx.org>2016-04-25 12:48:44 -0700
commitaf0714af69bcd371b9e588ce59d07f60e2a4410d (patch)
tree4b44259344fb2cd6007184a69fcd6f95247a406e /src/widget/wsingletoncontainer.h
parent3592cdd57c8015f7c4552d0c643aabb6a657211c (diff)
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)
Diffstat (limited to 'src/widget/wsingletoncontainer.h')
-rw-r--r--src/widget/wsingletoncontainer.h4
1 files changed, 2 insertions, 2 deletions
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<QWidget> m_pWidget;