DeviceEditWidget: fixed compiler warning break.