mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-14 12:59:41 +01:00
Workaround preview widget flicker in column view
This commit is contained in:
parent
6416b34e8c
commit
a5693d6663
@ -118,6 +118,10 @@ ColumnView::setModel( QAbstractItemModel* model )
|
||||
void
|
||||
ColumnView::setTreeModel( TreeModel* model )
|
||||
{
|
||||
// HACK: without setting a new preview widget, the old preview widget is shown in the first column while loading the artists.
|
||||
m_previewWidget = new ColumnViewPreviewWidget( this );
|
||||
setPreviewWidget( m_previewWidget );
|
||||
|
||||
m_model = model;
|
||||
|
||||
if ( m_proxyModel )
|
||||
|
Loading…
x
Reference in New Issue
Block a user