bluetooth: Fix preferences build
This commit is contained in:
parent
f6ed4d08d1
commit
30f6fed181
@ -304,7 +304,7 @@ BluetoothSettingsView::_BuildLocalDevicesMenu()
|
|||||||
fLocalDevicesMenu = new BPopUpMenu(B_TRANSLATE("Pick device..."));
|
fLocalDevicesMenu = new BPopUpMenu(B_TRANSLATE("Pick device..."));
|
||||||
|
|
||||||
while (fLocalDevicesMenu->CountItems() > 0) {
|
while (fLocalDevicesMenu->CountItems() > 0) {
|
||||||
BMenuItem* item = fLocalDevicesMenu->RemoveItem(0);
|
BMenuItem* item = fLocalDevicesMenu->RemoveItem(0L);
|
||||||
|
|
||||||
if (item != NULL) {
|
if (item != NULL) {
|
||||||
delete item;
|
delete item;
|
||||||
|
Loading…
Reference in New Issue
Block a user