diff options
| author | Neil <nyamatongwe@gmail.com> | 2015-10-27 12:39:57 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2015-10-27 12:39:57 +1100 | 
| commit | aec6cf794aaccff145f0d3793806f6775d7fd2a5 (patch) | |
| tree | eec18297f8e0c8eb601ef7195b4e93226f6ed96f | |
| parent | 3a1c1e2dfe31c432adb81879353c618ad9949a65 (diff) | |
| download | scintilla-mirror-aec6cf794aaccff145f0d3793806f6775d7fd2a5.tar.gz | |
Use settings that may allow translucent painting. Incomplete as EditView does
not currently support translucent painting.
| -rw-r--r-- | qt/ScintillaEditBase/ScintillaEditBase.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/qt/ScintillaEditBase/ScintillaEditBase.cpp b/qt/ScintillaEditBase/ScintillaEditBase.cpp index f9195525b..e2377edc4 100644 --- a/qt/ScintillaEditBase/ScintillaEditBase.cpp +++ b/qt/ScintillaEditBase/ScintillaEditBase.cpp @@ -47,7 +47,7 @@ ScintillaEditBase::ScintillaEditBase(QWidget *parent)  	setFrameStyle(QFrame::NoFrame);  	setFocusPolicy(Qt::StrongFocus);  	setAttribute(Qt::WA_StaticContents); -	viewport()->setAttribute(Qt::WA_OpaquePaintEvent); +	viewport()->setAutoFillBackground(false);  	setAttribute(Qt::WA_KeyCompression);  	setAttribute(Qt::WA_InputMethodEnabled); | 
