summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qshortcut.h
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-01-08 22:20:43 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-09 18:53:04 +0100
commitfa1a1421262859cc9f4f48cc16aab0d3a0033ffb (patch)
tree3e5db1decc2e65905f9c7b2f3f1e8aa5302c66c2 /src/widgets/kernel/qshortcut.h
parent9b2a776ce25310d1afddab3faab8c8e098a6094b (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.h2
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;