From 087cda05e624e0c6e053ec03d749bbba08b31d74 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 13 Mar 2016 08:58:57 -0700 Subject: [PATCH] QML UI: font color isn't supported on app log page So let's remove all that markup. Signed-off-by: Dirk Hohndel --- qt-mobile/qmlmanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp index 5ffc0678f..8de52cb81 100644 --- a/qt-mobile/qmlmanager.cpp +++ b/qt-mobile/qmlmanager.cpp @@ -75,7 +75,7 @@ void QMLManager::openLocalThenRemote(QString url) int error = parse_file(fileNamePrt.data()); prefs.git_local_only = false; if (error) { - appendTextToLog(QStringLiteral("loading dives from cache failed %1").arg(error)); + appendTextToLog(QStringLiteral("loading dives from cache failed %1").arg(error)); } else { // if we can load from the cache, we know that we have at least a valid email if (credentialStatus() == UNKNOWN) @@ -112,7 +112,7 @@ void QMLManager::finishSetup() openLocalThenRemote(url); } else { setCredentialStatus(INCOMPLETE); - appendTextToLog(QStringLiteral("no cloud credentials")); + appendTextToLog(QStringLiteral("no cloud credentials")); setStartPageText(RED_FONT + tr("Please enter valid cloud credentials.") + END_FONT); } setDistanceThreshold(prefs.distance_threshold); @@ -259,7 +259,7 @@ void QMLManager::handleError(QNetworkReply::NetworkError nError) void QMLManager::retrieveUserid() { if (reply->attribute(QNetworkRequest::HttpStatusCodeAttribute) != 302) { - appendTextToLog(QStringLiteral("Cloud storage connection not working correctly: %1 ").arg(QString(reply->readAll()))); + appendTextToLog(QStringLiteral("Cloud storage connection not working correctly: %1").arg(QString(reply->readAll()))); setAccessingCloud(false); return; } @@ -267,7 +267,7 @@ void QMLManager::retrieveUserid() QString userid(prefs.userid); if (userid.isEmpty()) { if (same_string(prefs.cloud_storage_email, "") || same_string(prefs.cloud_storage_password, "")) { - appendTextToLog("cloud user name or password are empty, can't retrieve web user id"); + appendTextToLog("cloud user name or password are empty, can't retrieve web user id"); setAccessingCloud(false); return; } @@ -298,7 +298,7 @@ void QMLManager::loadDiveProgress(int percent) void QMLManager::loadDivesWithValidCredentials() { if (reply->attribute(QNetworkRequest::HttpStatusCodeAttribute) != 302) { - appendTextToLog(QStringLiteral("Cloud storage connection not working correctly: ") + reply->readAll()); + appendTextToLog(QStringLiteral("Cloud storage connection not working correctly: ") + reply->readAll()); setStartPageText(RED_FONT + tr("Cannot connect to cloud storage") + END_FONT); setAccessingCloud(false); return;