summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-04-22 10:41:14 +0300
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2015-04-24 10:03:25 +0000
commit6dc52bb81763dd88d020032212834c8d3a5b8027 (patch)
tree1201cae86e700e7ab60ec918d3e21ce549931ec1
parenta667469601294c9845b86545b7b1b09617a04cae (diff)
Let the underlying system decide the default keymap parametersv5.5.0-beta1
By passing "" instead of hardcoded defaults we let xkbcommon decide what the default parameters for the keymap should be. The user can change that with environment variables, as described here: http://xkbcommon.org/doc/current/structxkb__rule__names.html Change-Id: I8fb037201aeababaa0aa4755cae339ae3d9800b9 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-rw-r--r--src/compositor/compositor_api/qwaylandinput.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compositor/compositor_api/qwaylandinput.h b/src/compositor/compositor_api/qwaylandinput.h
index ba28bbd6..7842fa38 100644
--- a/src/compositor/compositor_api/qwaylandinput.h
+++ b/src/compositor/compositor_api/qwaylandinput.h
@@ -63,8 +63,8 @@ class InputDevice;
class Q_COMPOSITOR_EXPORT QWaylandKeymap
{
public:
- QWaylandKeymap(const QString &layout = QLatin1String("us"), const QString &variant = QString(), const QString &options = QString(),
- const QString &model = QLatin1String("pc105"), const QString &rules = QLatin1String("evdev"));
+ QWaylandKeymap(const QString &layout = QString(), const QString &variant = QString(), const QString &options = QString(),
+ const QString &model = QString(), const QString &rules = QString());
inline QString layout() const { return m_layout; }
inline QString variant() const { return m_variant; }