Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
KWin
Commits
b02d7ff9
Commit
b02d7ff9
authored
Sep 17, 2018
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compile when we use QT_NO_NARROWING_CONVERSIONS_IN_CONNECT flags
parent
ae21aa70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
kcmkwin/kwincompositing/main.cpp
kcmkwin/kwincompositing/main.cpp
+8
-1
No files found.
kcmkwin/kwincompositing/main.cpp
View file @
b02d7ff9
...
...
@@ -128,7 +128,14 @@ void KWinCompositingSettings::init()
// xrender scale filter
m_form
.
xrScaleFilter
->
setCurrentIndex
(
m_compositing
->
xrScaleFilter
());
connect
(
m_compositing
,
&
Compositing
::
xrScaleFilterChanged
,
m_form
.
xrScaleFilter
,
&
QComboBox
::
setCurrentIndex
);
connect
(
m_form
.
xrScaleFilter
,
currentIndexChangedSignal
,
m_compositing
,
&
Compositing
::
setXrScaleFilter
);
connect
(
m_form
.
xrScaleFilter
,
currentIndexChangedSignal
,
[
this
](
int
index
)
{
if
(
index
==
0
)
{
m_compositing
->
setXrScaleFilter
(
false
);
}
else
{
m_compositing
->
setXrScaleFilter
(
true
);
}
});
// tearing prevention
m_form
.
tearingPrevention
->
setCurrentIndex
(
m_compositing
->
glSwapStrategy
());
...
...
Write
Preview
Markdown
is supported
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