summaryrefslogtreecommitdiffstats
path: root/src/widget/wdisplay.cpp
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2014-11-18 00:11:37 -0500
committerRJ Ryan <rryan@mixxx.org>2014-11-18 01:29:09 -0500
commita74c65d6469a2f1ce0d1927ffbd73be90bf754c5 (patch)
tree4381e657348dd5bba44d2e2b40c0635ed39b7f3c /src/widget/wdisplay.cpp
parentc21f0c6559e5c19ed7a9acd301e2100823a43e00 (diff)
Code fascism.
* Fix compiler warnings in non-3rd-party code. * Add some missing const-references. * Eliminate cases of "if(" "( ... )" and "for(".
Diffstat (limited to 'src/widget/wdisplay.cpp')
-rw-r--r--src/widget/wdisplay.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widget/wdisplay.cpp b/src/widget/wdisplay.cpp
index 21e6f97239..81eaddc969 100644
--- a/src/widget/wdisplay.cpp
+++ b/src/widget/wdisplay.cpp
@@ -100,9 +100,9 @@ void WDisplay::setPixmap(QVector<PaintablePointer>* pPixmaps, int iPos,
if (iPos < 0 || iPos >= pPixmaps->size()) {
return;
}
-
+
PixmapSource source(filename);
- PaintablePointer pPixmap = WPixmapStore::getPaintable( source,
+ PaintablePointer pPixmap = WPixmapStore::getPaintable(source,
Paintable::TILE);
if (pPixmap.isNull() || pPixmap->isNull()) {
@@ -163,7 +163,7 @@ void WDisplay::onConnectedControlChanged(double dParameter, double dValue) {
}
}
-void WDisplay::paintEvent(QPaintEvent* ) {
+void WDisplay::paintEvent(QPaintEvent*) {
QStyleOption option;
option.initFrom(this);
QStylePainter p(this);