Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Plasma Desktop
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
39
Merge Requests
39
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Plasma
Plasma Desktop
Commits
2b5e8632
Commit
2b5e8632
authored
Dec 14, 2019
by
David Faure
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix regression in "Port the pager applet away from QtWidgets"
BUG: 414849
parent
567f7171
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
applets/pager/plugin/windowmodel.cpp
applets/pager/plugin/windowmodel.cpp
+1
-1
No files found.
applets/pager/plugin/windowmodel.cpp
View file @
2b5e8632
...
...
@@ -77,7 +77,7 @@ QVariant WindowModel::data(const QModelIndex &index, int role) const
if
(
role
==
AbstractTasksModel
::
Geometry
)
{
QRect
windowGeo
=
TaskFilterProxyModel
::
data
(
index
,
role
).
toRect
();
QList
<
QScreen
*>
screens
=
QGuiApplication
::
screens
();
const
QRect
desktopGeo
=
screens
.
at
(
0
)
->
g
eometry
();
const
QRect
desktopGeo
=
screens
.
at
(
0
)
->
virtualG
eometry
();
if
(
KWindowSystem
::
mapViewport
())
{
int
x
=
windowGeo
.
center
().
x
()
%
desktopGeo
.
width
();
...
...
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