From 20052173fc0ec63d6dba4cc7e14d3af3e3e8c038 Mon Sep 17 00:00:00 2001 From: defnax Date: Fri, 24 Jul 2009 23:55:19 +0000 Subject: [PATCH] set sizeHint for uploads to 17 git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1427 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/ULListDelegate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/retroshare-gui/src/gui/ULListDelegate.cpp b/retroshare-gui/src/gui/ULListDelegate.cpp index b47a2935c..fa690ab0e 100644 --- a/retroshare-gui/src/gui/ULListDelegate.cpp +++ b/retroshare-gui/src/gui/ULListDelegate.cpp @@ -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(value) : option.font; QFontMetrics fontMetrics(fnt);