// with other uses of the same component...
// getSettings()->beginGroup( "playlist" );
restoreState( getSettings()->value("splitterSizes").toByteArray());
+
+ setAcceptDrops( true );
+ setWindowTitle( qtr( "Playlist" ) );
+ setWindowIcon( QApplication::windowIcon() );
}
void PlaylistWidget::setArt( QString url )
getSettings()->endGroup();
}
+#include "main_interface.hpp"
+void PlaylistWidget::dropEvent(QDropEvent *event)
+{
+ if( p_intf->p_sys->p_mi )
+ p_intf->p_sys->p_mi->dropEvent( event );
+}
+void PlaylistWidget::dragEnterEvent(QDragEnterEvent *event)
+{
+ event->acceptProposedAction();
+}
+