~pkunal-parmar/ubuntu-calendar-app/Minor-Performance

« back to all changes in this revision

Viewing changes to GlobalEventModel.js

  • Committer: Tarmac
  • Author(s): David Planella
  • Date: 2013-10-16 07:51:17 UTC
  • mfrom: (148.2.2 ubuntu-calendar-app)
  • Revision ID: tarmac-20131016075117-njb1w3fs7ni8p7lk
Fixed some event detail fields not being displayed: start time, end time, name, description, location. Fixes: https://bugs.launchpad.net/bugs/1235309, https://bugs.launchpad.net/bugs/1240241.

Approved by Mihir Soni, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.pragma library
 
2
 
 
3
var model;
 
4
function gloablModel() {
 
5
    if( !model) {
 
6
        model = Qt.createQmlObject('import QtQuick 2.0; EventListModel {}', Qt.application, 'EventListModel.gloablModel()')
 
7
    }
 
8
    return model;
 
9
}