From: Kevin Krammer Date: Sat, 20 Oct 2012 16:09:52 +0000 (+0200) Subject: Remove unnecessary flag redeclaration X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=a88c787553a1d1c196721ee7e88d99e181a0f419;p=web%2Fkonrad%2FDeclarativeWidgets.git Remove unnecessary flag redeclaration --- diff --git a/declarativeobjects_p.h b/declarativeobjects_p.h index 0ff7507..066cee3 100644 --- a/declarativeobjects_p.h +++ b/declarativeobjects_p.h @@ -497,12 +497,8 @@ class DeclarativeMenuBar : public DeclarativeWidgetProxy 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);