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:
@@ -1,9 +1,11 @@
|
||||
#include "xspfloader.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QDomDocument>
|
||||
#include <QMessageBox>
|
||||
|
||||
#include "tomahawk/tomahawkapp.h"
|
||||
#include "utils/tomahawkutils.h"
|
||||
|
||||
#include "sourcelist.h"
|
||||
#include "playlist.h"
|
||||
|
||||
@@ -111,7 +113,7 @@ XSPFLoader::gotBody()
|
||||
{
|
||||
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();
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user