forked from qt-creator/qt-creator
QmlDebug: Fix debugging on local machine
Fix regression in that it always assumed that you want to debug Symbian (over USB).
This commit is contained in:
@@ -128,7 +128,7 @@ void QmlAdapter::connectToViewer()
|
||||
|
||||
const DebuggerStartParameters ¶meters = d->m_engine.data()->startParameters();
|
||||
if (parameters.communicationChannel == DebuggerStartParameters::CommunicationChannelUsb) {
|
||||
if (parameters.debugClient == DebuggerStartParameters::DebugClientTrk) {
|
||||
if (parameters.debugClient == DebuggerStartParameters::SymbianDebugClientTrk) {
|
||||
d->m_connectionTimer.stop();
|
||||
showConnectionErrorMessage(tr("QML debugging is not supported when using TRK!"));
|
||||
emit connectionStartupFailed();
|
||||
|
||||
Reference in New Issue
Block a user