In the case that the application did not generate any event
after running the profiler, still show an empty trace.
Otherwise the user will think that the profiler didn't work.
Change-Id: Idd15225270d55d834719f66387864433fcb9026d
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
We used to save the device settings only when the user pressed "Ok" or
"Accept" in the settings widget. Therefore, remembering auto-detected
devices never worked. Now we connect to the saveSettingsRequested()
signal.
Change-Id: I28964ebbc809596963d718bb66d518607174a841
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Since Qt modules are changing between Qt4 and Qt5 we no longer
include them when including Qt headers.
Change-Id: I3ed8649faa20b7f7bcd4180c79219f24fdbba026
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
Readers got confused with qmldump and qmlplugindump
Change-Id: Ia228ac43e1f40659bc6df4e6e5fc5139055fc455
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
These variables are conceptually const and only have to be initialized
once.
Change-Id: I49adaa19909bb132982ae02b389bc43664a8dc9e
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This saves repetitive and annoying checks after every function that can
potentially fail.
Change-Id: Ic8f8a070195a6eff3e7b1d631e5d67e4fe23bad2
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
There is no reason to have the QString overhead there.
Change-Id: I46ab16dd44b1ea9670905ce58b574b7d9d8fc572
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
Move Status enum out of QmlDebugClient and drop "QmlDebug"
prefix for the different 'Reference' structs. Allows to
avoid 'using namespace in QmlDebug' in header files.
Change-Id: Id9857977300e86d637cf128ff3417d8b24c8e995
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Always use camel case for actions in context menu.
Change-Id: Iafa0569c4bca4ecb858fe618780208322379b979
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
That is the necessary part of the previously reverted patch.
Change-Id: Ie25171cd013712b7141de01d4c23deb20fe08578
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This reverts commit 89cee4313c,
as part of the patch breaks QTCREATORBUG-7277.
The GDB case should not filter the Locals model, but the Tooltip model
to display tooltips. CDB has no choice, as the tooltips are expressions,
i.e. cannot be handled, so using the Locals as fall back there is ok.
Change-Id: I196bc683e06f68301bd86aa6fcce14ad2e8c5774
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Coding style says class should be used everywhere.
Change-Id: Ia1c75d6b3222c6672e1ffac22395affd2f2add1c
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Emit less signals when reading the qtversions.xml file provided
by the SDK. Especially do not claim a Qt version was removed and
added again on updates. This could potentially cause BuildConfigs
to update themselves in stupid ways.
Change-Id: I5e2b3ac4725f4a30910520e57ca0bbf9fe595f7f
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Give the file a bit to settle, otherwise we might end up reading
a file that is not fully written to disk yet.
Change-Id: I88d91c095171bf3e603b68cc81ad5406320ef6d0
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Explicitly select a a new Qt version when the one in use gets
deleted. Do not rely on the UI doing the right thing anymore.
Change-Id: Ia78b56ae15a1aa81d11227d1f07ce43bff19b0f2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>