--noise;
svn path=/trunk/KDE/kdelibs/; revision=959958
This commit is contained in:
parent
7fc1a201ff
commit
3fd3c6bb37
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user