Skip to content

Fix test that KMainWindow is a toplevel window

David Edmundson requested to merge work/fix_native into master

We want to test if there is a parent window and only run some code if we are a valid toplevel.

!window() covers the case before our window is shown, but after showing our window() will return ourself as the object when there is no parent.

Fixes 03b0f4c3 Relevant unit tests now pass

Merge request reports