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

Merge branch 'featureCoreProfile' into 'master'

Feature core profile

See merge request !3
parents ef221302 e0d7bba6
......@@ -221,6 +221,13 @@ 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_);
}
......
Supports Markdown
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