Changeset 83900 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 21, 2020 4:01:57 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 137432
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.cpp
r83882 r83900 363 363 return UIThreadGroupDefinitionSave::instance() 364 364 || UIThreadGroupOrderSave::instance(); 365 } 366 367 /* static */ 368 QString UIChooserAbstractModel::toOldStyleUuid(const QUuid &uId) 369 { 370 return uId.toString().remove(QRegExp("[{}]")); 365 371 } 366 372 … … 991 997 } 992 998 993 /* static */994 QString UIChooserAbstractModel::toOldStyleUuid(const QUuid &uId)995 {996 return uId.toString().remove(QRegExp("[{}]"));997 }998 999 999 1000 1000 /********************************************************************************************************************************* -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.h
r83705 r83900 107 107 /** Returns whether group saving is in progress. */ 108 108 bool isGroupSavingInProgress() const; 109 110 /** Returns QString representation for passed @a uId, wiping out {} symbols. 111 * @note Required for backward compatibility after QString=>QUuid change. */ 112 static QString toOldStyleUuid(const QUuid &uId); 109 113 /** @} */ 110 114 … … 232 236 /** Makes sure group orders saving is finished. */ 233 237 void makeSureGroupOrdersSaveIsFinished(); 234 235 /** Returns QString representation for passed @a uId, wiping out {} symbols.236 * @note Required for backward compatibility after QString=>QUuid change. */237 static QString toOldStyleUuid(const QUuid &uId);238 238 /** @} */ 239 239 -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserNodeMachine.cpp
r83884 r83900 138 138 QString UIChooserNodeMachine::definition() const 139 139 { 140 return QString("m=%1").arg( name());140 return QString("m=%1").arg(UIChooserAbstractModel::toOldStyleUuid(cache()->id())); 141 141 } 142 142
Note:
See TracChangeset
for help on using the changeset viewer.