Properly initialize window properties in xcb plugin.
Since 833090abb9 these need to be called manually.
Change-Id: Iabc263d499e724d4d39c3d8350563feb57749879
Reviewed-on: http://codereview.qt.nokia.com/2704
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
bb10
parent
ca1ad7e9a5
commit
e09d427baf
|
|
@ -276,8 +276,9 @@ void QXcbWindow::create()
|
|||
atom(QXcbAtom::WM_CLIENT_LEADER), XCB_ATOM_WINDOW, 32,
|
||||
1, &leader));
|
||||
|
||||
if (wasCreated)
|
||||
setWindowFlags(window()->windowFlags());
|
||||
setWindowFlags(window()->windowFlags());
|
||||
setWindowTitle(window()->windowTitle());
|
||||
setWindowState(window()->windowState());
|
||||
|
||||
connection()->drag()->dndEnable(this, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue