Commit 14c39b80 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix a warning in the playlist models

parent b6fa76ea
......@@ -59,15 +59,8 @@ public:
static QString getMeta( const QModelIndex & index, int meta );
static QPixmap getArtPixmap( const QModelIndex & index, const QSize & size );
public slots:
virtual void activateItem( const QModelIndex &index ) = 0;
protected:
intf_thread_t *p_intf;
};
static int columnToMeta( int _column )
{
static int columnToMeta( int _column )
{
int meta = 1;
int column = 0;
......@@ -78,10 +71,10 @@ static int columnToMeta( int _column )
}
return meta;
}
}
static int columnFromMeta( int meta_col )
{
static int columnFromMeta( int meta_col )
{
int meta = 1;
int column = 0;
......@@ -92,6 +85,15 @@ static int columnFromMeta( int meta_col )
}
return column;
}
}
public slots:
virtual void activateItem( const QModelIndex &index ) = 0;
protected:
intf_thread_t *p_intf;
};
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment