rendered paste bodyIndex: widgets/icon.cpp
===================================================================
--- widgets/icon.cpp (Revision 736621)
+++ widgets/icon.cpp (Arbeitskopie)
@@ -366,6 +366,9 @@
QSizeF Icon::Private::displaySizeHint(const QStyleOptionGraphicsItem *option) const
{
+ if( text.isEmpty() && infoText.isEmpty() ) {
+ return QSizeF( .0, .0 );
+ }
QString label = text;
// const qreal maxWidth = (orientation == Qt::Vertical) ? iconSize.width() + 10 : 32757;
// NOTE: find a way to use the other layoutText, it currently returns nominal width, when