Changeset 105551 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 31, 2024 5:26:04 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMSummaryPage.cpp
r105521 r105551 62 62 virtual int childCount() const RT_OVERRIDE RT_FINAL; 63 63 virtual QString text() const RT_OVERRIDE RT_FINAL; 64 const QString &name() const; 64 65 const QVariant &data() const; 65 66 const QIcon &icon() const; … … 177 178 } 178 179 179 180 180 QString UIWizardNewVMSummaryItem::text() const 181 { 182 return m_data.isValid() 183 ? tr("%1: %2", "col.1 text: col.2 text").arg(m_strText, m_data.toString()) 184 : tr("%1", "col.1 text").arg(m_strText); 185 } 186 187 const QString &UIWizardNewVMSummaryItem::name() const 181 188 { 182 189 return m_strText; … … 245 252 { 246 253 case 0: 247 return pItem-> text();254 return pItem->name(); 248 255 break; 249 256 case 1:
Note:
See TracChangeset
for help on using the changeset viewer.