Commit 5cce19f6 authored by ck's avatar ck
Browse files

Maemo: Get rid of superfluous signal.

parent c72043f5
......@@ -350,7 +350,6 @@ MaemoDebugRunControl::MaemoDebugRunControl(RunConfiguration *runConfiguration)
startParams->remoteDumperLib = QString::fromLocal8Bit("%1/%2")
.arg(remoteDir()).arg(QFileInfo(runConfig->dumperLib()).fileName());
connect(this, SIGNAL(stopRequested()), debuggerManager, SLOT(exitDebugger()));
connect(debuggerManager, SIGNAL(debuggingFinished()), this,
SLOT(debuggingFinished()), Qt::QueuedConnection);
connect(debuggerManager, SIGNAL(applicationOutputAvailable(QString)),
......@@ -397,7 +396,7 @@ void MaemoDebugRunControl::startGdbServer()
void MaemoDebugRunControl::gdbServerStartFailed(const QString &reason)
{
handleError(tr("Debugging failed: %1").arg(reason));
emit stopRequested();
debuggerManager->exitDebugger();
emit finished();
}
......@@ -443,7 +442,7 @@ void MaemoDebugRunControl::stop()
if (isDeploying()) {
stopDeployment();
} else {
emit stopRequested();
debuggerManager->exitDebugger();
}
}
......
......@@ -145,9 +145,6 @@ public:
bool isRunning() const;
Q_SLOT void debuggingFinished();
signals:
void stopRequested();
private slots:
void gdbServerStarted(const QString &output);
void debuggerOutput(const QString &output);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment