diff options
Diffstat (limited to 'src/widgets/kernel')
-rw-r--r-- | src/widgets/kernel/qshortcut.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/kernel/qshortcut.cpp b/src/widgets/kernel/qshortcut.cpp index fe94f676df..904d765d3c 100644 --- a/src/widgets/kernel/qshortcut.cpp +++ b/src/widgets/kernel/qshortcut.cpp @@ -410,10 +410,14 @@ public: bool QShortcutPrivate::handleWhatsThis() { +#if QT_CONFIG(whatsthis) const bool result = QWhatsThis::inWhatsThisMode(); if (result) QWhatsThis::showText(QCursor::pos(), sc_whatsthis); return result; +#else + return false; +#endif } /*! |