void DebuggerDBG::profile(const QString& filePath, bool local) { profileDialog()->clear(); SiteSettings* site = ProtoeditorSettings::self()->currentSiteSettings(); dbgint sessionid = kapp->random(); if(!m_isJITActive && !startJIT()) { return; } emit sigDebugStarting(); m_net->startProfiling(filePath, site, local, m_dbgSettings->listenPort(), sessionid); }
void BitSplit::newProfile(){ NewProfile profileDialog(this); if(profileDialog.exec() == NewProfile::Accepted){ fileInterface.profileName = profileDialog.profile->name; fileInterface.lDir = profileDialog.profile->lDir; fileInterface.rDir = profileDialog.profile->rDir; fileInterface.fileFilterNames.append("Video.txt"); //TMP fileInterface.fileTypeFilter<<"*.mkv"<<"*.avi"; //TMP fileInterface.quickSync = false; //TMP ui.stackedWidget->setCurrentIndex(3); ui.mp_lDirLabel->setText(profileDialog.profile->lDir); ui.mp_rDirLabel->setText(profileDialog.profile->rDir); fileInterface.insertProfile(); ui.buttonStack->setCurrentIndex(3); } }