Bug 552401 - Dialog with parent is positioned incorrectly [QT]. r=dougt,romaxa

This commit is contained in:
Miika Jarvinen 2010-03-17 08:32:38 +02:00
parent 2eda17d868
commit 95a3693068

View File

@ -482,8 +482,7 @@ nsWindow::Move(PRInt32 aX, PRInt32 aY)
LOG(("nsWindow::Move [%p] %d %d\n", (void *)this,
aX, aY));
if (mWindowType == eWindowType_toplevel ||
mWindowType == eWindowType_dialog) {
if (mIsTopLevel) {
SetSizeMode(nsSizeMode_Normal);
// the internal QGraphicsWidget is always in the top corner of