|
|
@ -44,7 +44,7 @@ BatteryInfoFrame::BatteryInfoFrame(Solid::Battery *battery) :
|
|
|
|
|
|
|
|
|
|
|
|
QString vendor = QString("%1 %2").arg(battery->recallVendor()).arg(battery->serial());
|
|
|
|
QString vendor = QString("%1 %2").arg(battery->recallVendor()).arg(battery->serial());
|
|
|
|
if (vendor.trimmed().isEmpty())
|
|
|
|
if (vendor.trimmed().isEmpty())
|
|
|
|
vendor = "Unkown";
|
|
|
|
vendor = "Unknown";
|
|
|
|
mUi->vendorValue->setText(vendor);
|
|
|
|
mUi->vendorValue->setText(vendor);
|
|
|
|
|
|
|
|
|
|
|
|
connect(mBattery, SIGNAL(energyChanged(double, const QString)), this, SLOT(onBatteryChanged()));
|
|
|
|
connect(mBattery, SIGNAL(energyChanged(double, const QString)), this, SLOT(onBatteryChanged()));
|
|
|
|