From e428c816ee34408ecc57134f46ea3c83405235ca Mon Sep 17 00:00:00 2001 From: "craig.p.drummond" Date: Thu, 11 Jul 2013 18:35:29 +0000 Subject: [PATCH] Only show progress bar for Jamendo and Magnatune when it is needed --- online/onlineservice.cpp | 4 ++-- online/onlineservice.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/online/onlineservice.cpp b/online/onlineservice.cpp index f773e16c6..2e2b04732 100644 --- a/online/onlineservice.cpp +++ b/online/onlineservice.cpp @@ -236,7 +236,7 @@ void OnlineService::clear() model->endRemoveRows(); } lProgress=0.0; - setStatusMessage(i18n("Not Loaded")); + setStatusMessage(QString()); model->updateGenres(); } @@ -308,7 +308,7 @@ void OnlineService::loaderFinished() { lProgress=100; loaded=true; - setStatusMessage(i18n("Loaded")); + setStatusMessage(QString()); update=loader->takeLibrary(); stopLoader(); applyUpdate(); diff --git a/online/onlineservice.h b/online/onlineservice.h index 733ab530e..ea1c4795a 100644 --- a/online/onlineservice.h +++ b/online/onlineservice.h @@ -96,7 +96,6 @@ public: , model(m) , configured(false) , update(0) - , statusMsg(i18n("Not Loaded")) , lProgress(0.0) , loaded(false) , loader(0) {