backport layout fixes here too
svn path=/branches/KDE/4.4/kdelibs/; revision=1071062
This commit is contained in:
parent
66e7fa884b
commit
e77ea715c6
@ -436,6 +436,10 @@ QSizeF ToolButton::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
|
||||
{
|
||||
QSizeF hint = QGraphicsProxyWidget::sizeHint(which, constraint);
|
||||
|
||||
if (hint.isEmpty()) {
|
||||
return hint;
|
||||
}
|
||||
|
||||
//replace the native margin with the Svg one
|
||||
QStyleOption option;
|
||||
option.initFrom(nativeWidget());
|
||||
|
Loading…
Reference in New Issue
Block a user