Minor clean-up.
svn path=/trunk/KDE/kdelibs/; revision=1188687
This commit is contained in:
parent
f7d405546e
commit
6203d3795b
@ -714,8 +714,6 @@ QSizeF IconWidget::sizeHint(Qt::SizeHint which, const QSizeF & constraint) const
|
|||||||
iconSize =
|
iconSize =
|
||||||
qMin(iconSize, qMax<int>(iconRect.width(), iconRect.height()));
|
qMin(iconSize, qMax<int>(iconRect.width(), iconRect.height()));
|
||||||
}
|
}
|
||||||
// REMOVE THIS BEFORE COMMITTING
|
|
||||||
// kDebug() << "Returning " << sizeFromIconSize(iconSize) << "for constraints" << constraint << "(iconsize:)" << iconSize;
|
|
||||||
return sizeFromIconSize(iconSize);
|
return sizeFromIconSize(iconSize);
|
||||||
|
|
||||||
} else if (which == Qt::MinimumSize) {
|
} else if (which == Qt::MinimumSize) {
|
||||||
|
Loading…
Reference in New Issue
Block a user