Summary: | Amazon MP3 store plugin popup at startup asking to "select a valid country in the settings", actual country not offered | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Philippe Cloutier <chealer> |
Component: | Services/Amazon MP3 Store | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | CLOSED FIXED | ||
Severity: | normal | CC: | avg, sven |
Priority: | NOR | ||
Version: | 2.5.0 | ||
Target Milestone: | 2.6 | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.6 | |
Sentry Crash Report: |
Description
Philippe Cloutier
2012-04-05 18:48:27 UTC
*** Bug 294613 has been marked as a duplicate of this bug. *** Git commit e4e0f1c1a5d77eb596886b1844dc3f3a18adef71 by Sven Krohlas. Committed on 16/04/2012 at 13:11. Pushed by krohlas into branch 'master'. Do not show the missing Amazon location warning on startup if the service is hidden This is annoying for users who do not want or cannot use the store. BUG:297552 FIXED-IN:2.6 M +1 -1 src/services/amazon/AmazonStore.cpp http://commits.kde.org/amarok/e4e0f1c1a5d77eb596886b1844dc3f3a18adef71 diff --git a/src/services/amazon/AmazonStore.cpp b/src/services/amazon/AmazonStore.cpp index 7846d1a..085b852 100644 --- a/src/services/amazon/AmazonStore.cpp +++ b/src/services/amazon/AmazonStore.cpp @@ -284,7 +284,7 @@ AmazonStore::newSearchRequest( const QString request ) if( !(KCM.exec() == QDialog::Accepted) ) return; } - else if( AmazonConfig::instance()->country() == QLatin1String( "none" ) ) + else if( AmazonConfig::instance()->country() == QLatin1String( "none" ) && m_itemView->isVisible() ) // do not show the message on startup, if the service is not visible { // user explicitly said we are in a not supported country Amarok::Components::logger()->longMessage( i18n( "<b>MP3 Music Store</b><br/><br/>Please select a valid country in the settings to make the store work." ) ); Setting status correctly. |