Fix typo in debug msg (Batttery → Battery)
This commit is contained in:
parent
5d80bf9f23
commit
6b8595d418
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ BatteryDbusInterface::BatteryDbusInterface(const Device *device)
|
||||||
// destructor.
|
// destructor.
|
||||||
QMap<QString, BatteryDbusInterface *>::iterator oldInterfaceIter = s_dbusInterfaces.find(device->id());
|
QMap<QString, BatteryDbusInterface *>::iterator oldInterfaceIter = s_dbusInterfaces.find(device->id());
|
||||||
if (oldInterfaceIter != s_dbusInterfaces.end()) {
|
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
|
//FIXME: This still crashes sometimes even after the workaround made in 38aa970, commented out by now
|
||||||
//oldInterfaceIter.value()->deleteLater();
|
//oldInterfaceIter.value()->deleteLater();
|
||||||
s_dbusInterfaces.erase(oldInterfaceIter);
|
s_dbusInterfaces.erase(oldInterfaceIter);
|
||||||
|
|
Loading…
Reference in a new issue