Changeset 2968 for vidalia/trunk
- Timestamp:
- 08/15/08 00:53:56 (3 months ago)
- Files:
-
- 1 modified
-
vidalia/trunk/src/vidalia/config/configdialog.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vidalia/trunk/src/vidalia/config/configdialog.cpp
r2653 r2968 53 53 * translations. */ 54 54 QPushButton *button = ui.buttonBox->button(QDialogButtonBox::Ok); 55 if (button) 55 if (button) { 56 56 button->setText(tr("OK")); 57 Vidalia::createShortcut(QKeySequence(Qt::Key_Return), 58 this, button, SLOT(click())); 59 } 57 60 button = ui.buttonBox->button(QDialogButtonBox::Cancel); 58 if (button) 61 if (button) { 59 62 button->setText(tr("Cancel")); 63 Vidalia::createShortcut(QKeySequence(Qt::Key_Escape), 64 this, button, SLOT(click())); 65 } 60 66 61 67 /* Connect the button box signals to the appropriate slots */
