aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/qquickproxytheme.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-02-07 13:56:28 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-02-07 14:18:51 +0000
commit54aef070625c2b1bd45394f8ffe1ea0b07bc5805 (patch)
treea137f97904e48ece46f042fd237a9320b759609c /src/quickcontrols2/qquickproxytheme.cpp
parent9c6e655969eb8b90b14367dd7218c79521e3f6db (diff)
Fix -no-feature-shortcut build
Change-Id: If567b99889b40528150834c3319cdfec8e5b229e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quickcontrols2/qquickproxytheme.cpp')
-rw-r--r--src/quickcontrols2/qquickproxytheme.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quickcontrols2/qquickproxytheme.cpp b/src/quickcontrols2/qquickproxytheme.cpp
index 3442e465..9b395b28 100644
--- a/src/quickcontrols2/qquickproxytheme.cpp
+++ b/src/quickcontrols2/qquickproxytheme.cpp
@@ -151,12 +151,14 @@ QIconEngine *QQuickProxyTheme::createIconEngine(const QString &iconName) const
return QPlatformTheme::createIconEngine(iconName);
}
+#if QT_CONFIG(shortcut)
QList<QKeySequence> QQuickProxyTheme::keyBindings(QKeySequence::StandardKey key) const
{
if (m_theme)
return m_theme->keyBindings(key);
return QPlatformTheme::keyBindings(key);
}
+#endif
QString QQuickProxyTheme::standardButtonText(int button) const
{