Changeset 56125 in vbox
- Timestamp:
- May 28, 2015 9:51:51 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 100650
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumEnumerator.cpp
r56124 r56125 128 128 /* Insert medium: */ 129 129 m_mediums[strMediumID] = medium; 130 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} created .\n", strMediumID.toAscii().constData()));130 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} created\n", strMediumID.toAscii().constData())); 131 131 132 132 /* Notify listener: */ … … 144 144 /* Remove medium: */ 145 145 m_mediums.remove(strMediumID); 146 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} deleted .\n", strMediumID.toAscii().constData()));146 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} deleted\n", strMediumID.toAscii().constData())); 147 147 148 148 /* Notify listener: */ … … 287 287 const UIMedium uimedium = pTask->data().value<UIMedium>(); 288 288 const QString strUIMediumKey = uimedium.key(); 289 LogRel2(("GUI: UIMediumEnumerator: Medium with key={%s} enumerated .\n", strUIMediumKey.toAscii().constData()));289 LogRel2(("GUI: UIMediumEnumerator: Medium with key={%s} enumerated\n", strUIMediumKey.toAscii().constData())); 290 290 291 291 /* Delete task: */ … … 302 302 /* Delete this medium: */ 303 303 m_mediums.remove(strUIMediumKey); 304 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} closed and deleted (after enumeration) .\n", strUIMediumKey.toAscii().constData()));304 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} closed and deleted (after enumeration)\n", strUIMediumKey.toAscii().constData())); 305 305 306 306 /* And notify listener about delete: */ … … 314 314 m_mediums[strUIMediumID] = uimedium; 315 315 m_mediums[strUIMediumID].setKey(strUIMediumID); 316 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} has it changed to {%s} .\n", strUIMediumKey.toAscii().constData(),316 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} has it changed to {%s}\n", strUIMediumKey.toAscii().constData(), 317 317 strUIMediumID.toAscii().constData())); 318 318 … … 326 326 /* Just update enumerated medium: */ 327 327 m_mediums[strUIMediumID] = uimedium; 328 LogRel2(("GUI: UIMediumEnumerator: Medium with key={%s} updated .\n", strUIMediumID.toAscii().constData()));328 LogRel2(("GUI: UIMediumEnumerator: Medium with key={%s} updated\n", strUIMediumID.toAscii().constData())); 329 329 330 330 /* And notify listener about update: */ … … 530 530 /* Uncache corresponding UIMedium: */ 531 531 m_mediums.remove(strMediumID); 532 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} uncached .\n", strMediumID.toAscii().constData()));532 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} uncached\n", strMediumID.toAscii().constData())); 533 533 534 534 /* And notify listeners: */ … … 559 559 /* Cache created UIMedium: */ 560 560 m_mediums.insert(strUIMediumKey, uimedium); 561 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} cached .\n", strUIMediumKey.toAscii().constData()));561 LogRel(("GUI: UIMediumEnumerator: Medium with key={%s} cached\n", strUIMediumKey.toAscii().constData())); 562 562 563 563 /* And notify listeners: */
Note:
See TracChangeset
for help on using the changeset viewer.