Commit 8675068f authored by Scott Wheeler's avatar Scott Wheeler

oops, parens in the wrong place

svn path=/trunk/kdemultimedia/juk/; revision=250117
parent 32be613d
......@@ -1051,7 +1051,7 @@ void Playlist::slotUpdateColumnWidths()
if(count() == 0) {
for(it = visibleColumns.begin(); it != visibleColumns.end(); ++it)
setColumnWidth(*it, header()->fontMetrics().width(header()->label(*it) + 10));
setColumnWidth(*it, header()->fontMetrics().width(header()->label(*it)) + 10);
return;
}
......@@ -1072,7 +1072,7 @@ void Playlist::slotUpdateColumnWidths()
int minimumFixedWidthTotal = 0;
for(it = visibleColumns.begin(); it != visibleColumns.end(); ++it) {
minimumWidth[*it] = header()->fontMetrics().width(header()->label(*it) + 10);
minimumWidth[*it] = header()->fontMetrics().width(header()->label(*it)) + 10;
minimumWidthTotal += minimumWidth[*it];
minimumFixedWidth[*it] = QMAX(minimumWidth[*it], m_columnFixedWidths[*it]);
......
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