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
KWin
Commits
9ffc8bf7
Commit
9ffc8bf7
authored
Oct 22, 2020
by
Laurent Montel
Browse files
Now it depends against new version. Old code can be removed
parent
fe41af9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/windowsystem/windoweffects.cpp
View file @
9ffc8bf7
...
...
@@ -67,13 +67,6 @@ void WindowEffects::slideWindow(WId id, KWindowEffects::SlideFromLocation locati
w
->
setProperty
(
"kwin_slide_offset"
,
offset
);
}
#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
)
{
Q_UNUSED
(
ids
)
...
...
plugins/windowsystem/windoweffects.h
View file @
9ffc8bf7
...
...
@@ -18,9 +18,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