svn path=/trunk/KDE/kdelibs/; revision=959958
This commit is contained in:
Aaron J. Seigo 2009-04-27 16:33:15 +00:00
parent 7fc1a201ff
commit 3fd3c6bb37

View File

@ -175,12 +175,13 @@ void DialogPrivate::adjustView()
{
if (view && graphicsWidget) {
QSize prevSize = q->size();
/*
kDebug() << "Widget size:" << graphicsWidget->size()
<< "| Widget size hint:" << graphicsWidget->effectiveSizeHint(Qt::PreferredSize)
<< "| Widget minsize hint:" << graphicsWidget->minimumSize()
<< "| Widget maxsize hint:" << graphicsWidget->maximumSize()
<< "| Widget bounding rect:" << graphicsWidget->sceneBoundingRect();
*/
//set the sizehints correctly:
int left, top, right, bottom;
q->getContentsMargins(&left, &top, &right, &bottom);