Skip to content

Commit

Permalink
QmlProfiler: Assert for sane configuration in local runner
Browse files Browse the repository at this point in the history
Change-Id: Idec9531019b1b95bbacf5d5bd5ea68168e28e895
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
Ulf Hermann committed Jul 5, 2016
1 parent f7924a2 commit 6683597
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/qmlprofiler/localqmlprofilerrunner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ LocalQmlProfilerRunner::LocalQmlProfilerRunner(const Configuration &configuratio

void LocalQmlProfilerRunner::start()
{
QTC_ASSERT(!m_configuration.socket.isEmpty() || m_configuration.port.isValid(), return);

StandardRunnable runnable = m_configuration.debuggee;
QString arguments = m_configuration.socket.isEmpty() ?
QmlDebug::qmlDebugTcpArguments(QmlDebug::QmlProfilerServices,
Expand Down

0 comments on commit 6683597

Please sign in to comment.