mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
Fixed compiling with clang.
This commit is contained in:
@@ -147,7 +147,7 @@ PlaylistItemDelegate::createEditor( QWidget* parent, const QStyleOptionViewItem&
|
|||||||
editor->addItems( formats );
|
editor->addItems( formats );
|
||||||
|
|
||||||
_detail::Closure* closure = NewClosure( editor, SIGNAL( activated( int ) ),
|
_detail::Closure* closure = NewClosure( editor, SIGNAL( activated( int ) ),
|
||||||
const_cast<PlaylistItemDelegate*>(this), SLOT( closeEditor( const QModelIndex&, QWidget* ) ), index, editor );
|
const_cast<PlaylistItemDelegate*>(this), SLOT( closeEditor( const QModelIndex&, QWidget* ) ), index, (QWidget*)editor );
|
||||||
return editor;
|
return editor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user