From bb5cf37330895375d6dd5e591ff80616dc91ae0f Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Tue, 11 Jun 2013 22:33:11 +0200 Subject: [PATCH] Fix issues found after review - use safer formatting - remove unnecessary condition --- src/mirall/application.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp index 6066b56ef0..8eed4d5d65 100644 --- a/src/mirall/application.cpp +++ b/src/mirall/application.cpp @@ -1012,10 +1012,8 @@ void Application::computeOverallSyncStatus() } qDebug() << "Folder in overallStatus Message: " << syncedFolder << " with name " << syncedFolder->alias(); - QString msg = tr("Folder %1: %2").arg(syncedFolder->alias()).arg(folderMessage); - if( msg != overallStatusStrings[syncedFolder->alias()] ) { - overallStatusStrings[syncedFolder->alias()] = msg; - } + QString msg = tr("Folder %1: %2").arg(syncedFolder->alias(), folderMessage); + overallStatusStrings[syncedFolder->alias()] = msg; } // create the tray blob message, check if we have an defined state