mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-11 07:31:25 +02:00
restoreGeometry restores window size but does not restore window position on the screen
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2008-06-06 Vadim Kurland <vadim@vk.crocodile.org>
|
||||
|
||||
* FWBSettings.cpp (FWBSettings::restoreGeometry): the program will
|
||||
remember window size and restore it on subsequent runs, but will
|
||||
not remember window position on the screen. This caused problems
|
||||
on Mac OS X (because window title bar and tool bar weren't taken
|
||||
into account, so window would slide up on every next run)
|
||||
|
||||
2008-06-05 Vadim Kurland <vadim@vk.crocodile.org>
|
||||
|
||||
* PolicyCompiler_ipt.cpp (checkUserServiceInWrongChains::processNext):
|
||||
|
||||
@@ -408,7 +408,6 @@ void FWBSettings::restoreGeometry(QWidget *w)
|
||||
}
|
||||
|
||||
w->resize( QSize(width,height) );
|
||||
w->move( QPoint(x,y) );
|
||||
}
|
||||
|
||||
void FWBSettings::restoreGeometry(QWidget *w, const QRect &dg)
|
||||
@@ -438,10 +437,7 @@ void FWBSettings::restoreGeometry(QWidget *w, const QRect &dg)
|
||||
name.toAscii().constData(), w->isVisible(), x,y);
|
||||
}
|
||||
|
||||
// w->setGeometry( QRect(x,y,width,height) );
|
||||
|
||||
w->resize( QSize(width,height) );
|
||||
w->move( QPoint(x,y) );
|
||||
}
|
||||
|
||||
void FWBSettings::saveGeometry(QWidget *w)
|
||||
|
||||
Reference in New Issue
Block a user