1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-06-10 18:05:02 +02:00

remote debug

This commit is contained in:
Leo Franchi
2011-10-12 10:21:39 -04:00
parent 9556414bf5
commit bb0d82aa10

View File

@ -489,14 +489,6 @@ TomahawkWindow::showOfflineSources()
void void
TomahawkWindow::loadSpiff() TomahawkWindow::loadSpiff()
{ {
// bool ok;
// QString urlstr = QInputDialog::getText( this, tr( "Load XSPF" ), tr( "Path:" ), QLineEdit::Normal, "http://ws.audioscrobbler.com/1.0/tag/metal/toptracks.xspf", &ok );
// if ( !ok || urlstr.isEmpty() )
// return;
//
// XSPFLoader* loader = new XSPFLoader;
// connect( loader, SIGNAL( error( XSPFLoader::XSPFErrorCode ) ), SLOT( onXSPFError( XSPFLoader::XSPFErrorCode ) ) );
// loader->load( QUrl::fromUserInput( urlstr ) );
LoadXSPFDialog* diag = new LoadXSPFDialog( this, Qt::Sheet ); LoadXSPFDialog* diag = new LoadXSPFDialog( this, Qt::Sheet );
#ifdef Q_WS_MAC #ifdef Q_WS_MAC
connect( diag, SIGNAL( finished( int ) ), this, SLOT( loadXspfFinished( int ) ) ); connect( diag, SIGNAL( finished( int ) ), this, SLOT( loadXspfFinished( int ) ) );