mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 04:19:55 +01:00
Bump trunk's version to 0.7.1 (oops), show an error when the spotify blob crashes, actually use the LD_LIBRARY_PATH that is created
This commit is contained in:
parent
d3d2a3184b
commit
a2ceca673c
@ -3,7 +3,7 @@
|
||||
# Version numbers.
|
||||
set(CLEMENTINE_VERSION_MAJOR 0)
|
||||
set(CLEMENTINE_VERSION_MINOR 7)
|
||||
#set(CLEMENTINE_VERSION_PATCH 0)
|
||||
set(CLEMENTINE_VERSION_PATCH 1)
|
||||
#set(CLEMENTINE_VERSION_PRERELEASE rc1)
|
||||
|
||||
# This should be set to OFF in an svn tag
|
||||
|
@ -131,6 +131,12 @@ void SpotifyService::BlobProcessError(QProcess::ProcessError error) {
|
||||
qLog(Error) << "Spotify blob process failed:" << error;
|
||||
blob_process_->deleteLater();
|
||||
blob_process_ = NULL;
|
||||
|
||||
emit StreamError("The Spotify process failed");
|
||||
|
||||
if (login_task_id_) {
|
||||
model()->task_manager()->SetTaskFinished(login_task_id_);
|
||||
}
|
||||
}
|
||||
|
||||
void SpotifyService::EnsureServerCreated(const QString& username,
|
||||
@ -223,6 +229,7 @@ void SpotifyService::StartBlobProcess() {
|
||||
delete blob_process_;
|
||||
blob_process_ = new QProcess(this);
|
||||
blob_process_->setProcessChannelMode(QProcess::ForwardedChannels);
|
||||
blob_process_->setProcessEnvironment(env);
|
||||
|
||||
connect(blob_process_,
|
||||
SIGNAL(error(QProcess::ProcessError)),
|
||||
|
Loading…
Reference in New Issue
Block a user