Small fix. Now file slot can be a sole option for emulator e.g. 'emuname
authorMikko Keinänen <mikko.keinanen@gmail.com>
Wed, 27 Oct 2010 19:50:36 +0000 (22:50 +0300)
committerMikko Keinänen <mikko.keinanen@gmail.com>
Wed, 27 Oct 2010 19:50:36 +0000 (22:50 +0300)
$1'.

src/emulauncher.cpp

index 69857e1..9cdffce 100644 (file)
@@ -164,7 +164,7 @@ void EmuLauncher::launchEmu()
 
         // check if command options have slots for nr media images > 1 e.g. "-diska $1 -diskb $2 ..."
         QString opts = exe->getOptions();
-        QRegExp rx("(\\s\\$\\d+)");
+        QRegExp rx("(\\$\\d+)");
         QStringList list;
         int pos = 0;
         while ((pos = rx.indexIn(opts, pos)) != -1) {