diff options
author | Oliver Wolff <oliver.wolff@nokia.com> | 2012-02-24 11:21:07 +0100 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@nokia.com> | 2012-02-24 11:21:07 +0100 |
commit | 40e18defa8ec36054967b36c0c73178c0156a34d (patch) | |
tree | f6e0a049b786301e08e7b2b9581e2ca26716c41a | |
parent | 0612c2e857b9e3bfe6b49dcb2df785bb70a5167b (diff) |
Detect supportedOrientation not only by menuImage but also availableGeometry
In order to support multiple orientations for harmattan, we also enable
the corresponding button when availableGeometry is set. Up to now that
only happened when menuImage was set.
Reviewed-by: Rainer Keller
-rw-r--r-- | src/other/configurationreader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/other/configurationreader.cpp b/src/other/configurationreader.cpp index 6c59bfe..40f515c 100644 --- a/src/other/configurationreader.cpp +++ b/src/other/configurationreader.cpp @@ -210,6 +210,7 @@ bool ConfigurationReader::processLine(const QByteArray &line, DeviceData *device return false; } else { deviceData->menus[orientation].availableGeometry = geometry; + deviceData->supportedOrientations |= orientation; } } else if (parameter == "menuImage") { QList<QByteArray> values = value.split(','); |