Commit 55dc4a9a authored by kh1's avatar kh1
Browse files

Remove dumper class, wasn't heavily used anyways.

parent 6d798a2b
......@@ -26,7 +26,6 @@
** contact the sales department at
#include "maemorunconfiguration.h"
#include "maemodeviceconfigurations.h"
......@@ -84,47 +83,6 @@ namespace Internal {
using namespace ProjectExplorer;
void ErrorDumper::printToStream(QProcess::ProcessError error)
QString reason;
switch (error) {
case QProcess::FailedToStart:
reason = "The process failed to start. Either the invoked program is"
" missing, or you may have insufficient permissions to invoke "
"the program.";
case QProcess::Crashed:
reason = "The process crashed some time after starting successfully.";
case QProcess::Timedout:
reason = "The last waitFor...() function timed out. The state of "
"QProcess is unchanged, and you can try calling waitFor...() "
case QProcess::WriteError:
reason = "An error occurred when attempting to write to the process."
" For example, the process may not be running, or it may have "
"closed its input channel.";
case QProcess::ReadError:
reason = "An error occurred when attempting to read from the process."
" For example, the process may not be running.";
reason = "QProcess::UnknownError";
qWarning() << "Failed to run emulator. Reason:" << reason;
// #pragma mark -- MaemoRunConfiguration
MaemoRunConfiguration::MaemoRunConfiguration(Qt4Target *parent,
const QString &proFilePath)
: RunConfiguration(parent, QLatin1String(MAEMO_RC_ID))
......@@ -183,8 +141,6 @@ void MaemoRunConfiguration::init()
this, SLOT(proFileUpdate(Qt4ProjectManager::Internal::Qt4ProFileNode*)));
qemu = new QProcess(this);
connect(qemu, SIGNAL(error(QProcess::ProcessError)), &dumper,
connect(qemu, SIGNAL(finished(int, QProcess::ExitStatus)), this,
......@@ -51,17 +51,6 @@ class Qt4BuildConfiguration;
class Qt4ProFileNode;
class Qt4Target;
class ErrorDumper : public QObject
ErrorDumper(QObject *parent = 0)
: QObject(parent) {}
public slots:
void printToStream(QProcess::ProcessError error);
class MaemoRunConfigurationFactory;
class MaemoRunConfiguration : public ProjectExplorer::RunConfiguration
Supports Markdown
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