diff --git a/src/servers/bluetooth/BluetoothServer.cpp b/src/servers/bluetooth/BluetoothServer.cpp index c8b01106bd..a925c81016 100644 --- a/src/servers/bluetooth/BluetoothServer.cpp +++ b/src/servers/bluetooth/BluetoothServer.cpp @@ -74,7 +74,7 @@ bool BluetoothServer::QuitRequested(void) { LocalDeviceImpl* lDeviceImpl = NULL; while ((lDeviceImpl = (LocalDeviceImpl*) - fLocalDevicesList.RemoveItem((int32)0)) != NULL) + fLocalDevicesList.RemoveItemAt(0)) != NULL) delete lDeviceImpl; _RemoveDeskbarIcon();