diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-05-24 14:27:47 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-05-24 14:27:47 +0200 |
commit | f1c8d2893d385ccfec2049655392ffca309675bd (patch) | |
tree | 35b445bea50cb754d6e778222392a417c7f68a0e | |
parent | 2d740d313342a014169d5f317da53e499ff4432e (diff) |
Fix deprecation warning
qaxwidget.cpp:1651:22: warning: 'WA_NoBackground' is deprecated [-Wdeprecated-declarations]
Change-Id: Ib762ec794d76101534e4765b5437903ccb3a348a
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
-rw-r--r-- | src/activeqt/container/qaxwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activeqt/container/qaxwidget.cpp b/src/activeqt/container/qaxwidget.cpp index 2dd843d..54a49e3 100644 --- a/src/activeqt/container/qaxwidget.cpp +++ b/src/activeqt/container/qaxwidget.cpp @@ -1648,7 +1648,7 @@ void QAxClientSite::windowActivationChange() QAxHostWidget::QAxHostWidget(QWidget *parent, QAxClientSite *ax) : QWidget(parent), setFocusTimer(0), hasFocus(false), axhost(ax) { - setAttribute(Qt::WA_NoBackground); + setAttribute(Qt::WA_OpaquePaintEvent); setAttribute(Qt::WA_NoSystemBackground); setAttribute(Qt::WA_OpaquePaintEvent); setAttribute(Qt::WA_PaintOnScreen); |