From 2c312b8551e129468732017989938aa1e8c36b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Tue, 25 Aug 2015 23:17:38 +0000 Subject: [PATCH] [GB.QT4] * BUG: Correctly initialize window properties when showing it in all cases. git-svn-id: svn://localhost/gambas/trunk@7241 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.qt4/src/CWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gb.qt4/src/CWindow.cpp b/gb.qt4/src/CWindow.cpp index d296d60b2..9fb815ab5 100644 --- a/gb.qt4/src/CWindow.cpp +++ b/gb.qt4/src/CWindow.cpp @@ -1656,8 +1656,8 @@ void MyMainWindow::present(QWidget *parent) if (effectiveWinId() == 0) { createWinId(); - initProperties(PROP_ALL); } + initProperties(PROP_ALL); #endif if (getState() & Qt::WindowMinimized) @@ -1963,6 +1963,7 @@ void MyMainWindow::setBorder(bool b) if (effectiveWinId()) { + qDebug("effectiveWinId"); initProperties(PROP_BORDER); X11_window_remap(effectiveWinId()); }