Remove unnecessary flag redeclaration
authorKevin Krammer <kevin.krammer@kdab.com>
Sat, 20 Oct 2012 16:09:52 +0000 (18:09 +0200)
committerKevin Krammer <kevin.krammer@kdab.com>
Sat, 20 Oct 2012 16:09:52 +0000 (18:09 +0200)
declarativeobjects_p.h

index 0ff7507..066cee3 100644 (file)
@@ -497,12 +497,8 @@ class DeclarativeMenuBar : public DeclarativeWidgetProxy<QMenuBar>
 class DeclarativeMessageBoxAttached : public QObject
 {
   Q_OBJECT
-  Q_FLAGS(StandardButtons)
 
   public:
-    typedef QMessageBox::StandardButton StandardButton;
-    Q_DECLARE_FLAGS(StandardButtons, StandardButton);
-
     DeclarativeMessageBoxAttached(QObject *parent = 0);
 
     Q_INVOKABLE void about(QObject *parent, const QString &title, const QString &text);