1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-05 13:47:26 +02:00

* Fixed XSPFLoader.

This commit is contained in:
Christian Muehlhaeuser
2011-01-17 09:45:11 +01:00
parent e0c9449d7e
commit b550c55547

View File

@@ -1,9 +1,11 @@
#include "xspfloader.h" #include "xspfloader.h"
#include <QApplication>
#include <QDomDocument> #include <QDomDocument>
#include <QMessageBox> #include <QMessageBox>
#include "tomahawk/tomahawkapp.h" #include "utils/tomahawkutils.h"
#include "sourcelist.h" #include "sourcelist.h"
#include "playlist.h" #include "playlist.h"
@@ -111,7 +113,7 @@ XSPFLoader::gotBody()
{ {
if ( m_autoCreate ) if ( m_autoCreate )
{ {
QMessageBox::critical( APP->mainWindow(), tr( "XSPF Error" ), tr( "This is not a valid XSPF playlist." ) ); QMessageBox::critical( 0, tr( "XSPF Error" ), tr( "This is not a valid XSPF playlist." ) );
deleteLater(); deleteLater();
return; return;
} }