summaryrefslogtreecommitdiffstats
path: root/src/widget/wdisplay.cpp
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/wdisplay.cpp
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/wdisplay.cpp')
-rw-r--r--src/widget/wdisplay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget/wdisplay.cpp b/src/widget/wdisplay.cpp
index e0a613195b..4826c5f562 100644
--- a/src/widget/wdisplay.cpp
+++ b/src/widget/wdisplay.cpp
@@ -28,7 +28,7 @@
WDisplay::WDisplay(QWidget * parent)
: WWidget(parent),
m_iCurrentPixmap(0),
- m_pPixmapBack(NULL),
+ m_pPixmapBack(nullptr),
m_bDisabledLoaded(false) {
setPositions(0);
}
@@ -171,7 +171,7 @@ void WDisplay::onConnectedControlChanged(double dParameter, double dValue) {
}
}
-void WDisplay::paintEvent(QPaintEvent*) {
+void WDisplay::paintEvent(QPaintEvent* /*unused*/) {
QStyleOption option;
option.initFrom(this);
QStylePainter p(this);