Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Plasma
KWin
Commits
9ffc8bf7
Commit
9ffc8bf7
authored
Oct 22, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now it depends against new version. Old code can be removed
parent
fe41af9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
+0
-10
plugins/windowsystem/windoweffects.cpp
plugins/windowsystem/windoweffects.cpp
+0
-7
plugins/windowsystem/windoweffects.h
plugins/windowsystem/windoweffects.h
+0
-3
No files found.
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
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