mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Don't use interface as varname as MinGW doesn't like that
This commit is contained in:
parent
b1a159a7cb
commit
ce95e6b761
@ -43,33 +43,33 @@
|
||||
#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 )
|
||||
{
|
||||
init( interface );
|
||||
init( plInterface );
|
||||
|
||||
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 )
|
||||
{
|
||||
init( interface );
|
||||
init( plInterface );
|
||||
|
||||
loadResult( result );
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
MetadataEditor::init( const Tomahawk::playlistinterface_ptr& interface )
|
||||
MetadataEditor::init( const Tomahawk::playlistinterface_ptr& plInterface )
|
||||
{
|
||||
ui = new Ui::MetadataEditor();
|
||||
ui->setupUi( this );
|
||||
|
||||
setAttribute( Qt::WA_DeleteOnClose );
|
||||
|
||||
m_interface = interface;
|
||||
m_interface = plInterface;
|
||||
m_index = 0;
|
||||
m_editable = false;
|
||||
|
||||
|
@ -36,11 +36,11 @@ class MetadataEditor : public QDialog
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MetadataEditor( const Tomahawk::query_ptr& query, const Tomahawk::playlistinterface_ptr& interface, QWidget* parent = 0 );
|
||||
MetadataEditor( const Tomahawk::result_ptr& result, 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& plInterface, QWidget* parent = 0 );
|
||||
~MetadataEditor() {};
|
||||
|
||||
void init( const Tomahawk::playlistinterface_ptr& interface );
|
||||
void init( const Tomahawk::playlistinterface_ptr& plInterface );
|
||||
|
||||
protected:
|
||||
QString title() const { return ui->titleLineEdit->text(); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user