Set windowSize only from readWindowSize()  
It looks like that function has some logic to determine what windowSize should really be.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=770330
This commit is contained in:
Bill Egert 2008-02-03 13:06:34 +00:00
parent a6b4d53d83
commit 29215641ef

View File

@ -204,7 +204,7 @@ void WindowPreview::setWindowId(WId w)
return;
}
id = w;
windowSize = QSize();
readWindowSize();
}
bool WindowPreview::previewsAvailable() const