Changeset 37888 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jul 12, 2011 11:12:33 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72789
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/UIMediumTypeChangeDialog.cpp
r37885 r37888 63 63 /* Create button-box: */ 64 64 m_pButtonBox = new QIDialogButtonBox(this); 65 m_pButtonBox->setStandardButtons(QDialogButtonBox::Ok |QDialogButtonBox::Cancel);65 m_pButtonBox->setStandardButtons(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); 66 66 m_pButtonBox->button(QDialogButtonBox::Ok)->setDefault(true); 67 67 connect(m_pButtonBox->button(QDialogButtonBox::Ok), SIGNAL(clicked()), this, SLOT(sltAccept())); … … 113 113 /* Translate description: */ 114 114 m_pLabel->setText(tr("<p>You are about to change the medium type of the virtual disk located in %1.</p>" 115 "<p>Please choose one of the following medium types and press <b>OK</b> button " 116 "if you really want to proceed or <b>Cancel</b> button otherwise.</p>") 117 .arg(m_medium.GetLocation())); 115 "<p>Please choose one of the following medium types and press <b>%2</b> " 116 "to proceed or <b>%3</b> otherwise.</p>") 117 .arg(m_medium.GetLocation()) 118 .arg(VBoxGlobal::removeAccelMark(m_pButtonBox->button(QDialogButtonBox::Ok)->text())) 119 .arg(VBoxGlobal::removeAccelMark(m_pButtonBox->button(QDialogButtonBox::Cancel)->text()))); 118 120 119 121 /* Translate group-box: */
Note:
See TracChangeset
for help on using the changeset viewer.