~paulliu/unity8/unity8-fixgenericpreview

« back to all changes in this revision

Viewing changes to Dash/Apps/AppPreview.qml

  • Committer: Tarmac
  • Author(s): Diego Sarmentero
  • Date: 2013-09-26 17:08:00 UTC
  • mfrom: (340.2.2 apps-error-handling)
  • Revision ID: tarmac-20130926170800-a0lyc50iz7wm3yly
- Handling error signal from the DownloadTracker plugin (BUG: #1229744). Fixes: https://bugs.launchpad.net/bugs/1229744.

Approved by PS Jenkins bot, Michał Sawicz, Roberto Alsina.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
                onFinished: {
111
111
                    root.previewData.execute(progressBar.model[0].id, { })
112
112
                }
 
113
 
 
114
                onError: {
 
115
                    root.previewData.execute(progressBar.model[1].id, { "error": error });
 
116
                }
113
117
            }
114
118
 
115
119
        }