Commit e0d7bba6 authored by Martin Schultz's avatar Martin Schultz
Browse files

added ifdef and comment to workaround for widget rendering

parent 8c005feb
......@@ -221,7 +221,12 @@ 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