Commit 35262d71 authored by Scott Wheeler's avatar Scott Wheeler

QListView doesn't seem to update the items if you set the margin after

inserting the items until a repaint...

svn path=/trunk/kdemultimedia/juk/; revision=232043
parent e1d4aa77
......@@ -772,7 +772,6 @@ void Playlist::polish()
setSelectionMode(QListView::Extended);
setShowSortIndicator(true);
setDropVisualizer(true);
setItemMargin(3);
//////////////////////////////////////////////////
// setup header RMB menu
......@@ -841,6 +840,8 @@ void Playlist::setup()
m_polished = false;
m_allowDuplicates = false;
setItemMargin(3);
connect(header(), SIGNAL(indexChange(int, int, int)), this, SLOT(slotColumnOrderChanged(int, int, int)));
connect(this, SIGNAL(signalDataChanged()), this, SIGNAL(signalChanged()));
connect(this, SIGNAL(signalNumberOfItemsChanged(Playlist *)), this, SIGNAL(signalChanged()));
......
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