From: Mikko Keinänen Date: Tue, 19 Oct 2010 22:09:27 +0000 (+0300) Subject: Clear the selection after launching emulator. X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;h=1d51c414277eef39ab4be1f1739342e430b0b67d;p=emufront Clear the selection after launching emulator. --- diff --git a/src/emulauncher.cpp b/src/emulauncher.cpp index ddc77b9..a073172 100644 --- a/src/emulauncher.cpp +++ b/src/emulauncher.cpp @@ -211,6 +211,7 @@ void EmuLauncher::launchEmu() throw EmuFrontException(tr("No media images selected")); emuHelper->launch(exe, mediaImageContainers, selectedImages, list.count()); + micTable->clearSelection(); } catch (EmuFrontException efe) { delete exe; qDeleteAll(mediaImageContainers); diff --git a/src/utils/emuhelper.cpp b/src/utils/emuhelper.cpp index 8beec34..e98a888 100644 --- a/src/utils/emuhelper.cpp +++ b/src/utils/emuhelper.cpp @@ -87,7 +87,6 @@ void EmuHelper::launch(const Executable * ex, QList micLi delete ex; qDeleteAll(micList); //qDeleteAll(miList); these objects are already deleted along with micList - } void EmuHelper::processError(QProcess::ProcessError)