Commit c7c3dcc9 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'workaround-black-button-bug' into 'master'

Enable existing workaround on non-MacOS systems to fix black button bug.

See merge request !6
parents 9efdca1d 4957deaa
......@@ -218,12 +218,10 @@ void SelectionBasePlugin::initializePlugin() {
pickModeToolBar_->addSeparator();
pickModeToolBar_->addActions(selectionModesGroup_->actions());
#if defined(ARCH_DARWIN)
// Workaround for QPainter using an unsupported rendering backend on core profiles
// See https://bugreports.qt.io/browse/QTBUG-32639
// setting opacity to a value smaller than 1 forces rasterizer engine
pickModeToolBar_->setWindowOpacity(0.99);
#endif
emit setPickModeToolbar(SELECTION_PICKING, pickModeToolBar_);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment