corect a problem in the last backport

svn path=/branches/KDE/4.3/kdelibs/; revision=1014448
This commit is contained in:
Marco Martin 2009-08-22 20:54:12 +00:00
parent 0d117b4792
commit b383e43bc6

View File

@ -665,7 +665,7 @@ void AppletHandle::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
// If the applet doesn't have a minimum size, calculate based on a // If the applet doesn't have a minimum size, calculate based on a
// minimum content area size of 16x16 (KIconLoader::SizeSmall) // minimum content area size of 16x16 (KIconLoader::SizeSmall)
if (1||min.isEmpty()) { if (min.isEmpty()) {
min = m_applet->boundingRect().size() - m_applet->contentsRect().size(); min = m_applet->boundingRect().size() - m_applet->contentsRect().size();
min = QSizeF(KIconLoader::SizeSmall, KIconLoader::SizeSmall); min = QSizeF(KIconLoader::SizeSmall, KIconLoader::SizeSmall);
} }