return the proper boundingRect()

svn path=/trunk/KDE/kdelibs/; revision=1039144
This commit is contained in:
Marco Martin 2009-10-22 20:32:36 +00:00
parent a7db9faf50
commit a45a20c32c

View File

@ -975,7 +975,7 @@ void AppletHandle::calculateSize()
//m_rect = m_applet->mapToParent(m_rect).boundingRect();
m_decorationRect = m_rect.adjusted(-marginLeft, -marginTop, marginRight, marginBottom);
m_totalRect = m_decorationRect.united(m_applet->geometry());
m_totalRect = m_decorationRect.united(m_applet->boundingRect());
}
} // Plasma Namespace