summaryrefslogtreecommitdiffstats
path: root/src/shared/deviceskin/deviceskin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/deviceskin/deviceskin.cpp')
-rw-r--r--src/shared/deviceskin/deviceskin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/deviceskin/deviceskin.cpp b/src/shared/deviceskin/deviceskin.cpp
index b8649b9b3..bc594f118 100644
--- a/src/shared/deviceskin/deviceskin.cpp
+++ b/src/shared/deviceskin/deviceskin.cpp
@@ -69,7 +69,7 @@ namespace {
}
static void parseRect(const QString &value, QRect *rect) {
- const QVector<QStringRef> l = value.splitRef(QLatin1Char(' '));
+ const auto l = value.splitRef(QLatin1Char(' '));
rect->setRect(l[0].toInt(), l[1].toInt(), l[2].toInt(), l[3].toInt());
}
@@ -535,7 +535,7 @@ void DeviceSkin::paintEvent( QPaintEvent *)
} else {
p.drawPixmap(0, 0, skinImageClosed);
}
- QList<int> toDraw;
+ QVector<int> toDraw;
if ( buttonPressed == true ) {
toDraw += buttonIndex;
}