Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
Plugin-SelectionBase
Commits
aafcee83
Commit
aafcee83
authored
Apr 03, 2018
by
Jan Möbius
Browse files
Merge branch 'featureCoreProfile' into 'master'
Feature core profile See merge request
!3
parents
ef221302
e0d7bba6
Changes
1
Show whitespace changes
Inline
Side-by-side
SelectionBasePlugin.cc
View file @
aafcee83
...
@@ -221,6 +221,13 @@ void SelectionBasePlugin::initializePlugin() {
...
@@ -221,6 +221,13 @@ void SelectionBasePlugin::initializePlugin() {
pickModeToolBar_
->
addSeparator
();
pickModeToolBar_
->
addSeparator
();
pickModeToolBar_
->
addActions
(
selectionModesGroup_
->
actions
());
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_
);
emit
setPickModeToolbar
(
SELECTION_PICKING
,
pickModeToolBar_
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment