mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-02 03:16:18 -05:00
set sizeHint for uploads to 17
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1427 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4d8aa4dd72
commit
20052173fc
@ -154,6 +154,7 @@ void ULListDelegate::paint(QPainter * painter, const QStyleOptionViewItem & opti
|
||||
|
||||
QSize ULListDelegate::sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const
|
||||
{
|
||||
return QSize(50,17);
|
||||
QVariant value = index.data(Qt::FontRole);
|
||||
QFont fnt = value.isValid() ? qvariant_cast<QFont>(value) : option.font;
|
||||
QFontMetrics fontMetrics(fnt);
|
||||
|
Loading…
Reference in New Issue
Block a user