mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-08-31 04:39:56 +00:00
refactor: fix some minor clang-tidy warnings
This commit is contained in:
@ -48,17 +48,17 @@ QHash<QString, KSysGuard::SensorInfo *> QuotesSource::sources() const
|
||||
|
||||
for (auto item : m_extQuotes->activeItems()) {
|
||||
result.insert(item->tag("pricechg"),
|
||||
makeSensorInfo(QString("Absolute price changes for '%1'").arg(item->uniq()), QVariant::Double));
|
||||
makeSensorInfo(QString("Absolute price changes for '%1'").arg(item->uniq()), QMetaType::Double));
|
||||
result.insert(item->tag("price"),
|
||||
makeSensorInfo(QString("Price for '%1'").arg(item->uniq()), QVariant::Double));
|
||||
makeSensorInfo(QString("Price for '%1'").arg(item->uniq()), QMetaType::Double));
|
||||
result.insert(item->tag("percpricechg"), makeSensorInfo(QString("Price changes for '%1'").arg(item->uniq()),
|
||||
QVariant::Double, KSysGuard::UnitPercent, 0, 100));
|
||||
QMetaType::Double, KSysGuard::UnitPercent, 0, 100));
|
||||
result.insert(item->tag("volumechg"),
|
||||
makeSensorInfo(QString("Absolute volume changes for '%1'").arg(item->uniq()), QVariant::Double));
|
||||
makeSensorInfo(QString("Absolute volume changes for '%1'").arg(item->uniq()), QMetaType::Double));
|
||||
result.insert(item->tag("volume"),
|
||||
makeSensorInfo(QString("Volume for '%1'").arg(item->uniq()), QVariant::Double));
|
||||
makeSensorInfo(QString("Volume for '%1'").arg(item->uniq()), QMetaType::Double));
|
||||
result.insert(item->tag("percvolumechg"), makeSensorInfo(QString("Volume changes for '%1'").arg(item->uniq()),
|
||||
QVariant::Double, KSysGuard::UnitPercent, 0, 100));
|
||||
QMetaType::Double, KSysGuard::UnitPercent, 0, 100));
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user