- Timestamp:
- Sep 13, 2017 9:20:09 AM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotDetailsWidget.cpp
r68722 r68735 1137 1137 "%5"; 1138 1138 static const char *sSectionItemTpl1 = 1139 "<tr><td><nobr> <i>%1</i></nobr></td><td/><td/></tr>";1139 "<tr><td><nobr>%1</nobr></td><td/><td/></tr>"; 1140 1140 static const char *sSectionItemTpl2 = 1141 1141 "<tr><td><nobr>%1:</nobr></td><td/><td>%2</td></tr>"; … … 1482 1482 comAttachment.GetPort(), 1483 1483 comAttachment.GetDevice())) + strDeviceType) 1484 .arg( vboxGlobal().details(medium, false));1484 .arg(wipeHtmlStuff(vboxGlobal().details(medium, false))); 1485 1485 /* Insert that attachment into map: */ 1486 1486 if (!strAttachmentInfo.isNull()) … … 1776 1776 1777 1777 /* static */ 1778 QString UISnapshotDetailsWidget::wipeHtmlStuff(const QString &strString) 1779 { 1780 return QString(strString).remove(QRegExp("<i>|</i>|<b>|</b>")); 1781 } 1782 1783 /* static */ 1778 1784 QString UISnapshotDetailsWidget::summarizeGenericProperties(const CNetworkAdapter &comNetwork) 1779 1785 { -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotDetailsWidget.h
r68722 r68735 150 150 QString detailsReport(const CMachine &comMachine, DetailsElementType enmType); 151 151 152 /** Wipes the HTML stuff from the passed @a strString. */ 153 static QString wipeHtmlStuff(const QString &strString); 154 152 155 /** Summarizes generic properties. */ 153 156 static QString summarizeGenericProperties(const CNetworkAdapter &adapter);
Note:
See TracChangeset
for help on using the changeset viewer.