Changeset 85467 in vbox for trunk/src/VBox
- Timestamp:
- Jul 27, 2020 12:46:25 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139521
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/UIVirtualBoxManager.cpp
r85459 r85467 2787 2787 const QString strApplicationOptions = gEDataManager->cloudConsoleManagerApplication(strApplicationId); 2788 2788 const QStringList applicationValues = strApplicationOptions.split(','); 2789 bool fAtLeastOneProfileListed = false; 2789 2790 foreach (const QString strProfileId, gEDataManager->cloudConsoleManagerProfiles(strApplicationId)) 2790 2791 { … … 2801 2802 pAction->setProperty("path", applicationValues.value(1)); 2802 2803 pAction->setProperty("arguments", profileValues.value(1)); 2804 fAtLeastOneProfileListed = true; 2805 } 2806 if (!fAtLeastOneProfileListed) 2807 { 2808 QAction *pAction = pMenu->addAction(QApplication::translate("UIActionPool", 2809 "Connect with %1", 2810 "with terminal application") 2811 .arg(applicationValues.value(0)), 2812 this, &UIVirtualBoxManager::sltExecuteExternalApplication); 2813 pAction->setProperty("path", applicationValues.value(1)); 2803 2814 } 2804 2815 }
Note:
See TracChangeset
for help on using the changeset viewer.