diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-01-08 22:20:43 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-09 18:53:04 +0100 |
commit | fa1a1421262859cc9f4f48cc16aab0d3a0033ffb (patch) | |
tree | 3e5db1decc2e65905f9c7b2f3f1e8aa5302c66c2 /src/widgets/kernel/qshortcut.h | |
parent | 9b2a776ce25310d1afddab3faab8c8e098a6094b (diff) |
Fix constness of QShortcut::context()
Change-Id: Ic819c9b70fb2d6732f3fdc1d151a9adda571211b
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/widgets/kernel/qshortcut.h')
-rw-r--r-- | src/widgets/kernel/qshortcut.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qshortcut.h b/src/widgets/kernel/qshortcut.h index e240ea8864..077028ccd3 100644 --- a/src/widgets/kernel/qshortcut.h +++ b/src/widgets/kernel/qshortcut.h @@ -77,7 +77,7 @@ public: bool isEnabled() const; void setContext(Qt::ShortcutContext context); - Qt::ShortcutContext context(); + Qt::ShortcutContext context() const; void setWhatsThis(const QString &text); QString whatsThis() const; |