Re: [Development] QGuiApplication::topLevelWindows()

2012-01-28 Thread Anselmo L. S. Melo
On Fri, Jan 27, 2012 at 8:15 AM, Anselmo L. S. Melo wrote: > On Fri, Jan 27, 2012 at 4:51 AM, Samuel Rødal wrote: >> On 01/26/2012 08:21 PM, ext Anselmo L. S. Melo wrote: >>> Hi, >>> >>> A window is a top level window if it has no parent, correct? Code and >>> comments in qwindow.cpp also confir

Re: [Development] QGuiApplication::topLevelWindows()

2012-01-27 Thread Anselmo L. S. Melo
On Fri, Jan 27, 2012 at 4:51 AM, Samuel Rødal wrote: > On 01/26/2012 08:21 PM, ext Anselmo L. S. Melo wrote: >> Hi, >> >> A window is a top level window if it has no parent, correct? Code and >> comments in qwindow.cpp also confirm that. >> >> With that in mind, it seems reasonable that >> QGuiA

Re: [Development] QGuiApplication::topLevelWindows()

2012-01-26 Thread Samuel Rødal
On 01/26/2012 08:21 PM, ext Anselmo L. S. Melo wrote: > Hi, > > A window is a top level window if it has no parent, correct? Code and > comments in qwindow.cpp also confirm that. > > With that in mind, it seems reasonable that > QGuiApplication::topLevelWindows() should return a list of QWindows

[Development] QGuiApplication::topLevelWindows()

2012-01-26 Thread Anselmo L. S. Melo
Hi, A window is a top level window if it has no parent, correct? Code and comments in qwindow.cpp also confirm that. With that in mind, it seems reasonable that QGuiApplication::topLevelWindows() should return a list of QWindows with parent()==0. However, the returned list contains all QWindows