Changeset 74910 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 18, 2018 9:38:43 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/cloud/UICloudProfileDetailsWidget.cpp
r74898 r74910 64 64 65 65 /* Translate button-box: */ 66 m_pButtonBox->button(QDialogButtonBox::Cancel)->setText(tr("Reset")); 67 m_pButtonBox->button(QDialogButtonBox::Ok)->setText(tr("Apply")); 68 m_pButtonBox->button(QDialogButtonBox::Cancel)->setShortcut(Qt::Key_Escape); 69 m_pButtonBox->button(QDialogButtonBox::Ok)->setShortcut(QString("Ctrl+Return")); 70 m_pButtonBox->button(QDialogButtonBox::Cancel)->setStatusTip(tr("Reset changes in current profile details")); 71 m_pButtonBox->button(QDialogButtonBox::Ok)->setStatusTip(tr("Apply changes in current profile details")); 72 m_pButtonBox->button(QDialogButtonBox::Cancel)-> 73 setToolTip(tr("Reset Changes (%1)").arg(m_pButtonBox->button(QDialogButtonBox::Cancel)->shortcut().toString())); 74 m_pButtonBox->button(QDialogButtonBox::Ok)-> 75 setToolTip(tr("Apply Changes (%1)").arg(m_pButtonBox->button(QDialogButtonBox::Ok)->shortcut().toString())); 66 if (m_pButtonBox) 67 { 68 m_pButtonBox->button(QDialogButtonBox::Cancel)->setText(tr("Reset")); 69 m_pButtonBox->button(QDialogButtonBox::Ok)->setText(tr("Apply")); 70 m_pButtonBox->button(QDialogButtonBox::Cancel)->setShortcut(Qt::Key_Escape); 71 m_pButtonBox->button(QDialogButtonBox::Ok)->setShortcut(QString("Ctrl+Return")); 72 m_pButtonBox->button(QDialogButtonBox::Cancel)->setStatusTip(tr("Reset changes in current profile details")); 73 m_pButtonBox->button(QDialogButtonBox::Ok)->setStatusTip(tr("Apply changes in current profile details")); 74 m_pButtonBox->button(QDialogButtonBox::Cancel)-> 75 setToolTip(tr("Reset Changes (%1)").arg(m_pButtonBox->button(QDialogButtonBox::Cancel)->shortcut().toString())); 76 m_pButtonBox->button(QDialogButtonBox::Ok)-> 77 setToolTip(tr("Apply Changes (%1)").arg(m_pButtonBox->button(QDialogButtonBox::Ok)->shortcut().toString())); 78 } 76 79 77 80 /* Retranslate validation: */
Note:
See TracChangeset
for help on using the changeset viewer.