summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-23 23:12:03 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-23 23:12:03 -0700
commit854eb57ef57cd91b0293e221ab87fe9c2550107c (patch)
treeb606adfafda5b42b13ab92dbffb52008b969e9aa
parentfcb93362ac4f8aefa27745ef5df7fecc5bb0141e (diff)
downloadsubsurface-854eb57ef57cd91b0293e221ab87fe9c2550107c.tar.gz
QML UI: always convert the cloud user name to lower case
Mixed case user names cause the connection to the cloud storage to fail. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-mobile/qmlmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index 5b47efbd0..e372ca539 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -904,7 +904,7 @@ QString QMLManager::cloudUserName() const
void QMLManager::setCloudUserName(const QString &cloudUserName)
{
- m_cloudUserName = cloudUserName;
+ m_cloudUserName = cloudUserName.toLower();
emit cloudUserNameChanged();
}