mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Remove Qt::WA_StaticContents property as it has several Qt bugs
* In particular, the widget gets added to a 'staticWidgets' list in a widget backing store, but if the window is floating then it's never removed from the list and causes a crash shortly after the floating window is closed.
This commit is contained in:
@@ -57,7 +57,7 @@ ScintillaEditBase::ScintillaEditBase(QWidget *parent)
|
||||
setAutoFillBackground(false);
|
||||
setFrameStyle(QFrame::NoFrame);
|
||||
setFocusPolicy(Qt::StrongFocus);
|
||||
setAttribute(Qt::WA_StaticContents);
|
||||
//setAttribute(Qt::WA_StaticContents);
|
||||
viewport()->setAutoFillBackground(false);
|
||||
setAttribute(Qt::WA_KeyCompression);
|
||||
setAttribute(Qt::WA_InputMethodEnabled);
|
||||
|
||||
Reference in New Issue
Block a user