Ensure Qt builds with -no-feature-shortcut on Windows
Building without shortcuts would fail due to a missing QKeySequence. This was already handled in the implementation but required an ifdef in the header. Change-Id: I12c92ca480d0abdb518aae00b5b7e259133ef9ca Pick-to: 6.8 6.5 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> (cherry picked from commit 0a281beaa76a04665930b1e1cd5349c26ae7f0d1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
d6284de755
commit
e044a1bf9a
@ -76,7 +76,9 @@ private:
|
||||
bool m_checkable = false;
|
||||
bool m_checked = false;
|
||||
bool m_enabled = true;
|
||||
#if QT_CONFIG(shortcut)
|
||||
QKeySequence m_shortcut;
|
||||
#endif
|
||||
};
|
||||
|
||||
class QWindowsMenu : public QPlatformMenu
|
||||
|
Loading…
x
Reference in New Issue
Block a user