Commit 90621c45 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

QList<QSize> -> QVector<QSize>

parent 09610725
......@@ -124,7 +124,8 @@ QSize PluginItemDelegate::sizeHint( const QStyleOptionViewItem& option,
QStyleOptionViewItem opt = option;
opt.rect = QRect( 0, 0, 0, 0 );
QList<QSize> elementSize;
QVector<QSize> elementSize;
elementSize.reserve(4);
QStyleOptionButton checkBox = checkboxOption( opt, index );
elementSize.append( checkBox.rect.size() );
QStyleOptionButton aboutButton = buttonOption( opt, index, PluginItemDelegate::About );
......
Supports Markdown
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