refactor: fix some minor clang-tidy warnings

This commit is contained in:
2024-04-19 17:59:10 +03:00
parent 2f4f05b5af
commit ed5ae40624
56 changed files with 225 additions and 265 deletions

View File

@ -71,9 +71,9 @@ QHash<QString, KSysGuard::SensorInfo *> ProcessesSource::sources() const
{
auto result = QHash<QString, KSysGuard::SensorInfo *>();
result.insert("running", makeSensorInfo("Count of running processes", QVariant::Int));
result.insert("list", makeSensorInfo("All running processes list", QVariant::StringList));
result.insert("count", makeSensorInfo("Total count of processes", QVariant::Int));
result.insert("running", makeSensorInfo("Count of running processes", QMetaType::Int));
result.insert("list", makeSensorInfo("All running processes list", QMetaType::QStringList));
result.insert("count", makeSensorInfo("Total count of processes", QMetaType::Int));
return result;
}