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
Utilities
Konsole
Commits
fd5f08a3
Commit
fd5f08a3
authored
Jun 16, 2021
by
ivan tkachenko
Committed by
Tomaz Canabrava
Jun 18, 2021
Browse files
Fix deprecation warning about KWindowEffects::enableBlurBehind overload
parent
c0355ccd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/MainWindow.cpp
View file @
fd5f08a3
...
...
@@ -877,7 +877,7 @@ void MainWindow::setBlur(bool blur)
_blurEnabled
=
blur
;
if
(
!
_pluggedController
->
isKonsolePart
())
{
KWindowEffects
::
enableBlurBehind
(
win
I
d
(),
blur
);
KWindowEffects
::
enableBlurBehind
(
wind
owHandle
(),
blur
);
}
}
...
...
src/tests/demo_konsolepart/src/demo_konsolepart.cpp
View file @
fd5f08a3
...
...
@@ -59,7 +59,7 @@ demo_konsolepart::demo_konsolepart()
Qt
::
DirectConnection
,
Q_RETURN_ARG
(
bool
,
blurEnabled
));
qWarning
()
<<
"blur enabled: "
<<
blurEnabled
;
KWindowEffects
::
enableBlurBehind
(
win
I
d
(),
blurEnabled
);
KWindowEffects
::
enableBlurBehind
(
wind
owHandle
(),
blurEnabled
);
}
demo_konsolepart
::~
demo_konsolepart
()
...
...
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