libinput/device: Remove unneeded toVector call on variable that is already a vector
In Qt5, this variable was a QList and thus the conversion to a vector was needed
This commit is contained in:
parent
1b1cc67792
commit
bffff9470d
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ struct ConfigData<CalibrationMatrix> : public ConfigDataBase
|
||||||
if (values.hasKey(key.constData())) {
|
if (values.hasKey(key.constData())) {
|
||||||
auto list = values.readEntry(key.constData(), QList<float>());
|
auto list = values.readEntry(key.constData(), QList<float>());
|
||||||
if (list.size() == 16) {
|
if (list.size() == 16) {
|
||||||
device->setCalibrationMatrix(QMatrix4x4{list.toVector().constData()});
|
device->setCalibrationMatrix(QMatrix4x4{list.constData()});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue