Fix typo in debug msg (Batttery → Battery)

This commit is contained in:
Elias Probst 2016-03-24 23:47:55 +01:00
parent 5d80bf9f23
commit 6b8595d418

View file

@ -37,7 +37,7 @@ BatteryDbusInterface::BatteryDbusInterface(const Device *device)
// destructor.
QMap<QString, BatteryDbusInterface *>::iterator oldInterfaceIter = s_dbusInterfaces.find(device->id());
if (oldInterfaceIter != s_dbusInterfaces.end()) {
qCDebug(KDECONNECT_PLUGIN_BATTERY) << "Deleting stale BattteryDbusInterface for" << device->name();
qCDebug(KDECONNECT_PLUGIN_BATTERY) << "Deleting stale BatteryDbusInterface for" << device->name();
//FIXME: This still crashes sometimes even after the workaround made in 38aa970, commented out by now
//oldInterfaceIter.value()->deleteLater();
s_dbusInterfaces.erase(oldInterfaceIter);