Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Amarok
Commits
ea435716
Commit
ea435716
authored
Sep 10, 2012
by
Sven Krohlas
Browse files
use a unique prefix for messages from the mp3 store
BUG:301245 FIXED-IN:2.7
parent
4dd3e7ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/services/amazon/AmazonStore.cpp
View file @
ea435716
...
...
@@ -192,7 +192,7 @@ AmazonStore::addToCart()
}
AmazonShoppingCart
::
instance
()
->
add
(
asin
,
price
,
name
);
Amarok
::
Components
::
logger
()
->
short
Message
(
i18n
(
"<em>%1</em> has been added to your shopping cart."
,
name
)
);
Amarok
::
Components
::
logger
()
->
long
Message
(
i18n
(
"<
b>MP3 Music Store</b><br/><br/><
em>%1</em> has been added to your shopping cart."
,
name
)
);
m_checkoutButton
->
setEnabled
(
true
);
}
...
...
@@ -323,7 +323,7 @@ AmazonStore::newSearchRequest( const QString request )
if
(
!
tempFile
.
open
()
)
{
Amarok
::
Components
::
logger
()
->
short
Message
(
i18n
(
"Error: Unable to write temporary file. :-("
)
);
Amarok
::
Components
::
logger
()
->
long
Message
(
i18n
(
"
<b>MP3 Music Store</b><br/><br/>
Error: Unable to write temporary file. :-("
)
);
return
;
}
...
...
@@ -513,7 +513,7 @@ AmazonStore::parseReply( KJob* requestJob )
DEBUG_BLOCK
if
(
requestJob
->
error
()
)
{
Amarok
::
Components
::
logger
()
->
short
Message
(
i18n
(
"Error: Querying MP3 Music Store database failed. :-("
)
);
Amarok
::
Components
::
logger
()
->
long
Message
(
i18n
(
"
<b>MP3 Music Store</b><br/><br/>
Error: Querying MP3 Music Store database failed. :-("
)
);
debug
()
<<
requestJob
->
errorString
();
requestJob
->
deleteLater
();
m_searchWidget
->
searchEnded
();
...
...
@@ -548,7 +548,7 @@ void
AmazonStore
::
parsingFailed
(
ThreadWeaver
::
Job
*
parserJob
)
{
Q_UNUSED
(
parserJob
)
Amarok
::
Components
::
logger
()
->
short
Message
(
i18n
(
"Error: Received an invalid reply. :-("
)
);
Amarok
::
Components
::
logger
()
->
long
Message
(
i18n
(
"
<b>MP3 Music Store</b><br/><br/>
Error: Received an invalid reply. :-("
)
);
m_searchWidget
->
searchEnded
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment