Fix desktop context property for Desktop.qml

Review Request #124792 - Created Aug. 17, 2015 and submitted

Information
David Edmundson
plasma-workspace
7c15fa6...
Reviewers
plasma
This is fallout from the shared engine changes.

With the shared view, engine()->rootContext() is not the same as
rootContext(). One being global, the other being per window.

This resulted us in us overwriting the same "desktop" context property,
and so Desktop.qml always had the property desktop pointing to the last
created desktop view.

The most obvious symptom is that the add widgets dialog appeared on the
wrong screen.

BUG: 351292

  
Bhushan Shah
David Edmundson
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 9feaf37e93231e6c9410d0a585011731c4a33ff2 by David Edmundson to branch Plasma/5.4.
Loading...