Remove some useless casts

This commit is contained in:
spiros
2024-06-22 18:04:27 +03:00
parent dc8100d3ee
commit 86c4c7647f
3 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ QPair<QStringList, QJsonArray> utils::scanDevices(bool initializing)
for (const QJsonValue &value : std::as_const(devices)) {
QJsonObject device = value.toObject();
QString deviceName = device["name"].toString();
commandList.append(QString(smartctlPath + " --all --json=o %1").arg(deviceName));
commandList.append((smartctlPath + " --all --json=o %1").arg(deviceName));
}
QString command = commandList.join(" ; ");