diff options
-rw-r--r-- | playerwindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/playerwindow.cpp b/playerwindow.cpp index 9a9de50..c533f82 100644 --- a/playerwindow.cpp +++ b/playerwindow.cpp @@ -20,8 +20,6 @@ #include <QSortFilterProxyModel> #include <QHeaderView> - - //BEGIN CONSTRUCT OBJECTS Credentials *PlayerWindow::s_credentials = 0; PlayerWindow::PlayerWindow(QWidget *parent, Qt::WindowFlags flags) @@ -111,7 +109,7 @@ void PlayerWindow::setupUi() void PlayerWindow::setupPhonon() { m_mediaObject = new Phonon::MediaObject(this); - m_mediaObject->setPrefinishMark(5000);//what should the real value be? + m_mediaObject->setPrefinishMark(5000);//TODO: what should the real value be? m_aboutToFinishTimer.setSingleShot(true); connect(&m_aboutToFinishTimer, SIGNAL(timeout()), this, SLOT(songFinished())); connect(m_mediaObject, SIGNAL(stateChanged(Phonon::State,Phonon::State)), this, SLOT(playerStateChanged(Phonon::State,Phonon::State))); @@ -135,7 +133,7 @@ void PlayerWindow::setupTable(const QList<Song*> songList) Credentials* PlayerWindow::credentials() { if(!s_credentials) - s_credentials = new Credentials("67.205.29.81" /* should be zx2c4.com */, "/music/getlisting.php?language=xml", "music/getsong.php?hash=%1"); + s_credentials = new Credentials("zx2c4.com", "/music/getlisting.php?language=xml", "music/getsong.php?hash=%1"); return s_credentials; } //END CONSTRUCT OBJECTS |