diff --git a/src/QCefView.cpp b/src/QCefView.cpp index 75a0472c..df4d7847 100644 --- a/src/QCefView.cpp +++ b/src/QCefView.cpp @@ -32,7 +32,9 @@ QCefView::QCefView(const QString& url, // OSR mode setBackgroundRole(QPalette::Window); setAttribute(Qt::WA_OpaquePaintEvent); +#ifndef OS_LINUX setAttribute(Qt::WA_PaintOnScreen); +#endif setAttribute(Qt::WA_NoSystemBackground); }