#include "uiutil.h"
#include "menu/advancedmenuitem.h"
#include "menu/scalemenuitem.h"
+#include "emul_state.h"
extern "C" {
// FIXME: To avoid very complex header inclusion chains
QString basePortOpt = "base.port=" + QString::number(parent->uiInfo->basePort);
QString vmNameOpt = "vmname=" + parent->uiInfo->vmName;
+ QString vmProfileOpt = "profile=" + QString::fromLocal8Bit(get_profile_name());
QString ecpPath = QCoreApplication::applicationDirPath();
#ifdef CONFIG_WIN32
arguments << httpProxyAddr << httpProxyPort;
}
- arguments << "-jar" << ecpPath << vmNameOpt << basePortOpt;
+ arguments << "-jar" << ecpPath << vmNameOpt << basePortOpt << vmProfileOpt;
qDebug() << command << arguments;
try {