No need to have a function if we can call connect inside the class ctor.

This commit is contained in:
kh1
2010-02-23 17:44:24 +01:00
parent 69ebf668ba
commit fab70e72eb
3 changed files with 16 additions and 32 deletions

View File

@@ -107,6 +107,11 @@ void MaemoRunConfiguration::init()
qemu = new QProcess(this);
connect(qemu, SIGNAL(finished(int, QProcess::ExitStatus)), this,
SLOT(qemuProcessFinished()));
connect(&MaemoManager::instance(), SIGNAL(startStopQemu()), this,
SLOT(startStopQemu()));
connect(this, SIGNAL(qemuProcessStatus(bool)), &MaemoManager::instance(),
SLOT(updateQemuSimulatorStarter(bool)));
}
MaemoRunConfiguration::~MaemoRunConfiguration()