Change-Id: I2c9b3d3fb6b48428a0b8b9c46c5c994eb8941e13
Reviewed-on: http://codereview.qt.nokia.com/1979
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
QMessageBox dialog(QApplication::activeWindow());
QPushButton *qtPref = dialog.addButton(tr("Open Qt4 Options"),
QMessageBox::ActionRole);
- dialog.addButton(tr("Cancel"), QMessageBox::ActionRole);
+ dialog.addButton(QMessageBox::Cancel);
dialog.setDefaultButton(qtPref);
dialog.setWindowTitle(tr("QML Observer Missing"));
dialog.setText(tr("QML Observer could not be found."));