Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
Qt Creator 3.1.1
-
None
Description
How to reproduce:
1) Have QtCreator and register a BlackBerry device (e.g. using Add BlackBerry device wizard)
2) Restart QtCreator
Actual behavior:
QtCreator starts connecting to a BlackBerry device while QtCreator is starting.
Expected behavior:
QtCreator starts without connecting to a BlackBerry device.
The reason for the expected behavior is that even through a developer is starting QtCreator which is having a BlackBerry device registered, it does not mean that he/she was to start using BlackBerry device... maybe he/she does not even work on a BlackBerry-specific projects...
Implementation notes:
QtCreator starts connecting to a BB10 device because of the following line in BlackBerryDeviceConnectionManager ctor:
connect(deviceManager, SIGNAL(deviceAdded(Core::Id)), this, SLOT(connectDevice(Core::Id)));
This line means that wheneven a BB10 device/simulator is added to DeviceManager, then BlackBerryDeviceConnectionManager class starts connecting to it. Note that 'deviceAdded' signal is emitted even when the DeviceManager is just loading the settings.
Proposed solution:
Remove this above mentioned line.