mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Don't use interface as varname as MinGW doesn't like that
This commit is contained in:
@@ -43,33 +43,33 @@
|
|||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
|
|
||||||
MetadataEditor::MetadataEditor( const Tomahawk::query_ptr& query, const Tomahawk::playlistinterface_ptr& interface, QWidget* parent )
|
MetadataEditor::MetadataEditor( const Tomahawk::query_ptr& query, const Tomahawk::playlistinterface_ptr& plInterface, QWidget* parent )
|
||||||
: QDialog( parent )
|
: QDialog( parent )
|
||||||
{
|
{
|
||||||
init( interface );
|
init( plInterface );
|
||||||
|
|
||||||
loadQuery( query );
|
loadQuery( query );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
MetadataEditor::MetadataEditor( const Tomahawk::result_ptr& result, const Tomahawk::playlistinterface_ptr& interface, QWidget* parent )
|
MetadataEditor::MetadataEditor( const Tomahawk::result_ptr& result, const Tomahawk::playlistinterface_ptr& plInterface, QWidget* parent )
|
||||||
: QDialog( parent )
|
: QDialog( parent )
|
||||||
{
|
{
|
||||||
init( interface );
|
init( plInterface );
|
||||||
|
|
||||||
loadResult( result );
|
loadResult( result );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
MetadataEditor::init( const Tomahawk::playlistinterface_ptr& interface )
|
MetadataEditor::init( const Tomahawk::playlistinterface_ptr& plInterface )
|
||||||
{
|
{
|
||||||
ui = new Ui::MetadataEditor();
|
ui = new Ui::MetadataEditor();
|
||||||
ui->setupUi( this );
|
ui->setupUi( this );
|
||||||
|
|
||||||
setAttribute( Qt::WA_DeleteOnClose );
|
setAttribute( Qt::WA_DeleteOnClose );
|
||||||
|
|
||||||
m_interface = interface;
|
m_interface = plInterface;
|
||||||
m_index = 0;
|
m_index = 0;
|
||||||
m_editable = false;
|
m_editable = false;
|
||||||
|
|
||||||
|
@@ -36,11 +36,11 @@ class MetadataEditor : public QDialog
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MetadataEditor( const Tomahawk::query_ptr& query, const Tomahawk::playlistinterface_ptr& interface, QWidget* parent = 0 );
|
MetadataEditor( const Tomahawk::query_ptr& query, const Tomahawk::playlistinterface_ptr& plInterface, QWidget* parent = 0 );
|
||||||
MetadataEditor( const Tomahawk::result_ptr& result, const Tomahawk::playlistinterface_ptr& interface, QWidget* parent = 0 );
|
MetadataEditor( const Tomahawk::result_ptr& result, const Tomahawk::playlistinterface_ptr& plInterface, QWidget* parent = 0 );
|
||||||
~MetadataEditor() {};
|
~MetadataEditor() {};
|
||||||
|
|
||||||
void init( const Tomahawk::playlistinterface_ptr& interface );
|
void init( const Tomahawk::playlistinterface_ptr& plInterface );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
QString title() const { return ui->titleLineEdit->text(); }
|
QString title() const { return ui->titleLineEdit->text(); }
|
||||||
|
Reference in New Issue
Block a user