[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [amarok/spotify] src/core-impl/collections/spotifycollection: Add debug output needed to gdb connect
From:       Bart Cerneels <bart.cerneels () kde ! org>
Date:       2012-11-06 20:22:52
Message-ID: 20121106202252.7FA8CA6091 () git ! kde ! org
[Download RAW message or body]

Git commit 623e40db0bdf0c5648819362d679acf5957fc18c by Bart Cerneels.
Committed on 06/11/2012 at 07:48.
Pushed by shanachie into branch 'spotify'.

Add debug output needed to gdb connect with resolver.

M  +1    -0    src/core-impl/collections/spotifycollection/SpotifySettings.cpp
M  +1    -0    src/core-impl/collections/spotifycollection/support/Controller.cpp

http://commits.kde.org/amarok/623e40db0bdf0c5648819362d679acf5957fc18c

diff --git a/src/core-impl/collections/spotifycollection/SpotifySettings.cpp \
b/src/core-impl/collections/spotifycollection/SpotifySettings.cpp index \
                036cccb..f4284e1 100644
--- a/src/core-impl/collections/spotifycollection/SpotifySettings.cpp
+++ b/src/core-impl/collections/spotifycollection/SpotifySettings.cpp
@@ -181,6 +181,7 @@ SpotifySettings::tryDownloadResolver()
     connect( reply, SIGNAL( finished() ),
             this, SLOT( slotDownloadFinished() ) );
 
+    //TODO: move the progress bar to the dialog requesting download
     // Show progress bar
     m_configWidget->progDownload->setMinimum( 0 );
     m_configWidget->progDownload->setMaximum( 1000 );
diff --git a/src/core-impl/collections/spotifycollection/support/Controller.cpp \
b/src/core-impl/collections/spotifycollection/support/Controller.cpp index \
                d3b5962..142f3ed 100644
--- a/src/core-impl/collections/spotifycollection/support/Controller.cpp
+++ b/src/core-impl/collections/spotifycollection/support/Controller.cpp
@@ -467,6 +467,7 @@ Controller::startProcess()
     m_proc.setProcessEnvironment( m_procEnv );
     m_proc.start( runPath );
 
+    debug() << "spotify-resolver process started with PID: " << m_proc.pid();
     m_loaded = true;
 
     sendConfig();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic