1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

work around isLocalFile not existing

This commit is contained in:
Jeff Mitchell
2011-05-01 03:01:34 -04:00
parent 032e6f8d6f
commit af49afac35

View File

@@ -169,7 +169,8 @@ GlobalActionManager::handleQueueCommand( const QUrl& url )
if( pair.first != "url" ) if( pair.first != "url" )
continue; continue;
QUrl track = QUrl::fromUserInput( pair.second ); QUrl track = QUrl::fromUserInput( pair.second );
if( track.isLocalFile() ) { // it's local, so we see if it's in the DB and load it if so //FIXME: isLocalFile is part of KUrl, not QUrl
if( false /*track.isLocalFile()*/ ) { // it's local, so we see if it's in the DB and load it if so
// TODO // TODO
} else { // give it a web result hint } else { // give it a web result hint
// TODO actually read the tags // TODO actually read the tags