1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-23 09:19:41 +01: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" )
continue;
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
} else { // give it a web result hint
// TODO actually read the tags