Re: Restore window positions

2006-11-09 Thread Enrico Forestieri
On Thu, Nov 09, 2006 at 09:22:35AM +0100, Abdelrazak Younes wrote: > Peter Kümmel wrote: > >Enrico Forestieri wrote: > >>On Wed, Nov 08, 2006 at 11:28:49PM +0100, Peter Kümmel wrote: > >>>Attached a patch to restore the > >>>windows position correctly. > >>Please Peter, use Q_WS_WIN instead of Q_OS

Re: Restore window positions

2006-11-09 Thread Enrico Forestieri
On Thu, Nov 09, 2006 at 09:23:34AM +0100, Peter Kümmel wrote: > Enrico Forestieri wrote: > > On Wed, Nov 08, 2006 at 11:28:49PM +0100, Peter Kümmel wrote: > >> Attached a patch to restore the > >> windows position correctly. > > > > Please Peter, use Q_WS_WIN instead of Q_OS_WIN, as this is also r

Re: Restore window positions

2006-11-09 Thread Georg Baum
Peter Kümmel wrote: > Does it also work with a maximized window? Yes! Georg

Re: Restore window positions

2006-11-09 Thread Peter Kümmel
Georg Baum wrote: > Peter Kümmel wrote: > >> Attached a patch to restore the >> windows position correctly. >> >> Once again a Qt bug. >> >> Please test it if it becomes better on Linux. > > Works fine - thanks! Can't believe it ;) Does it also work with a maximized window? -- Peter Kümmel

Re: Restore window positions

2006-11-09 Thread Georg Baum
Peter Kümmel wrote: > Attached a patch to restore the > windows position correctly. > > Once again a Qt bug. > > Please test it if it becomes better on Linux. Works fine - thanks! Georg

Re: Restore window positions

2006-11-09 Thread Abdelrazak Younes
Peter Kümmel wrote: Enrico Forestieri wrote: On Wed, Nov 08, 2006 at 11:28:49PM +0100, Peter Kümmel wrote: Attached a patch to restore the windows position correctly. Please Peter, use Q_WS_WIN instead of Q_OS_WIN, as this is also relevant to a cygwin build without X11, where the former is def

Re: Restore window positions

2006-11-09 Thread Peter Kümmel
Enrico Forestieri wrote: > On Wed, Nov 08, 2006 at 11:28:49PM +0100, Peter Kümmel wrote: >> Attached a patch to restore the >> windows position correctly. > > Please Peter, use Q_WS_WIN instead of Q_OS_WIN, as this is also relevant > to a cygwin build without X11, where the former is defined but n

Re: Restore window positions

2006-11-08 Thread Enrico Forestieri
On Wed, Nov 08, 2006 at 11:28:49PM +0100, Peter Kümmel wrote: > Attached a patch to restore the > windows position correctly. Please Peter, use Q_WS_WIN instead of Q_OS_WIN, as this is also relevant to a cygwin build without X11, where the former is defined but not the latter. -- Enrico

Restore window positions

2006-11-08 Thread Peter Kümmel
Attached a patch to restore the windows position correctly. Once again a Qt bug. Please test it if it becomes better on Linux. Peter Index: src/frontends/qt4/GuiView.C === --- src/frontends/qt4/GuiView.C (revision 15808) +++ src/fro