QMLProject: Use cancel button.

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>
This commit is contained in:
Friedemann Kleint
2011-07-21 16:51:05 +02:00
parent f9a3fd338c
commit 8d86836072

View File

@@ -103,7 +103,7 @@ void QmlProjectPlugin::showQmlObserverToolWarning()
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."));