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
P
Plasma Phone Components
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Plasma
Plasma Phone Components
Commits
3a959241
Commit
3a959241
authored
Apr 22, 2018
by
Marco Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imake it work with latest revision
parent
727c0fd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
shell/contents/views/Desktop.qml
shell/contents/views/Desktop.qml
+2
-11
No files found.
shell/contents/views/Desktop.qml
View file @
3a959241
...
...
@@ -40,17 +40,7 @@ Item {
property
int
notificationId
:
0
;
property
int
buttonHeight
:
width
/
4
property
bool
loadCompleted
:
false
property
var
candidateContainments
:
Object
Connections
{
target
:
desktop
onCandidateContainmentsChanged
:
{
for
(
var
i
=
0
;
i
<
desktop
.
candidateContainments
.
length
;
++
i
)
{
var
cont
=
desktop
.
candidateContainments
[
i
];
root
.
candidateContainments
[
cont
.
activity
]
=
cont
;
}
}
}
XAnimator
{
id
:
switchAnim
target
:
activitiesLayout
...
...
@@ -134,7 +124,7 @@ Item {
}
onInViewportChanged
:
{
if
(
inViewport
&&
!
mainDelegate
.
containment
)
{
mainDelegate
.
containment
=
root
.
candidateContainments
[
model
.
id
];
mainDelegate
.
containment
=
desktop
.
candidateContainments
[
model
.
id
];
//desktop.containmentItemForActivity(model.id);
containmentNextActivityPreview
=
containment
;
mainDelegate
.
containment
.
parent
=
mainDelegate
;
...
...
@@ -145,6 +135,7 @@ Item {
if
(
currentActivity
)
{
activitiesView
.
currentIndex
=
index
;
}
mainDelegate
.
containment
.
visible
=
true
;
}
}
}
...
...
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