Commit 72304745 authored by Martin Schultz's avatar Martin Schultz

added comment and ifdef to widet rendering workaround

parent b2a7d72e
......@@ -283,7 +283,12 @@ void MovePlugin::pluginsInitialized() {
pickToolbar_->addAction(biggerManipAction_);
connect(pickToolBarActions_, SIGNAL(triggered(QAction*)), this, SLOT(slotPickToolbarAction(QAction*)) );
pickToolbar_->setWindowOpacity(0.99);
#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
pickToolbar_->setWindowOpacity(0.99);
#endif
emit setPickModeToolbar ("Move", pickToolbar_);
emit setPickModeToolbar ("MoveSelection", pickToolbar_);
......
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