Commit 4957deaa authored by Martin Heistermann's avatar Martin Heistermann
Browse files

Enable existing workaround on non-MacOS systems to fix selection buttons...

Enable existing workaround on non-MacOS systems to fix selection buttons rendered solid black in HiDPI mode.
parent 9efdca1d
......@@ -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