~nick-dedekind/unity8/indicator.submenu-reinit

« back to all changes in this revision

Viewing changes to Components/ApplicationScreenshot.qml

  • Committer: Nick Dedekind
  • Date: 2013-09-16 07:37:30 UTC
  • mfrom: (229.1.91 trunk)
  • Revision ID: nicholas.dedekind@gmail.com-20130916073730-3o9iv6i9h0d2c7rl
merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
import QtQuick 2.0
18
18
import Ubuntu.Components 0.1
19
 
import Ubuntu.Application 0.1
 
19
import Unity.Application 0.1
20
20
 
21
21
Item {
22
22
    id: applicationScreenshot
56
56
        width: applicationScreenshot.application ? parent.width : 0
57
57
        height: applicationScreenshot.application ? parent.height : 0
58
58
        visible: applicationScreenshot.application != null && ready
59
 
        source: applicationScreenshot.application
 
59
        source: ApplicationManager.findApplication((application) ? application.appId : "")
60
60
    }
61
61
}