diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2012-04-20 17:18:15 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-20 22:23:23 +0200 |
commit | 7eebe4e960bccf525ac7a6a26504bbf1157fd17e (patch) | |
tree | df912f91b210f258e4c215bf6c0550403764cb82 /src/widgets | |
parent | 460bf5f051e33fd5804ee9409b1090c3d1297f18 (diff) |
Fix compilation with Q_DECL_OVERRIDE
In C++11, the override keyword is placed after the function declaration
Change-Id: I3a079860762f30fa21eb01611c770713f6ba4acb
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/kernel/qapplication_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qapplication_p.h b/src/widgets/kernel/qapplication_p.h index 8f67a29d84..af7925c9d3 100644 --- a/src/widgets/kernel/qapplication_p.h +++ b/src/widgets/kernel/qapplication_p.h @@ -198,7 +198,7 @@ public: static void dispatchEnterLeave(QWidget *enter, QWidget *leave); //modality - Q_DECL_OVERRIDE bool isWindowBlocked(QWindow *window, QWindow **blockingWindow = 0) const; + bool isWindowBlocked(QWindow *window, QWindow **blockingWindow = 0) const Q_DECL_OVERRIDE; static bool isBlockedByModal(QWidget *widget); static bool modalState(); static bool tryModalHelper(QWidget *widget, QWidget **rettop = 0); |