Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWayland Integration
Commits
7632cc51
Commit
7632cc51
authored
Oct 22, 2020
by
Laurent Montel
Browse files
Now it depends against new version. Old code can be removed
parent
1d9b99d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/windowsystem/windoweffects.cpp
View file @
7632cc51
...
...
@@ -150,12 +150,6 @@ void WindowEffects::slideWindow(WId id, KWindowEffects::SlideFromLocation locati
}
}
#if KWINDOWSYSTEM_VERSION <= QT_VERSION_CHECK(5, 61, 0)
void
WindowEffects
::
slideWindow
(
QWidget
*
widget
,
KWindowEffects
::
SlideFromLocation
location
)
{
slideWindow
(
widget
->
winId
(),
location
,
0
);
}
#endif
QList
<
QSize
>
WindowEffects
::
windowSizes
(
const
QList
<
WId
>
&
ids
)
{
...
...
src/windowsystem/windoweffects.h
View file @
7632cc51
...
...
@@ -37,9 +37,6 @@ public:
bool
isEffectAvailable
(
KWindowEffects
::
Effect
effect
)
override
;
void
slideWindow
(
WId
id
,
KWindowEffects
::
SlideFromLocation
location
,
int
offset
)
override
;
#if KWINDOWSYSTEM_VERSION <= QT_VERSION_CHECK(5, 61, 0)
void
slideWindow
(
QWidget
*
widget
,
KWindowEffects
::
SlideFromLocation
location
)
override
;
#endif
QList
<
QSize
>
windowSizes
(
const
QList
<
WId
>
&
ids
)
override
;
void
presentWindows
(
WId
controller
,
const
QList
<
WId
>
&
ids
)
override
;
void
presentWindows
(
WId
controller
,
int
desktop
=
NET
::
OnAllDesktops
)
override
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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