~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to greeters/qt/panel.cpp

  • Committer: David Edmundson
  • Date: 2011-05-22 11:19:24 UTC
  • mto: This revision was merged to the branch mainline in revision 461.
  • Revision ID: david@davidedmundson.co.uk-20110522111924-aar5y8f75tm9q9xh
Added a users model

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
    ui->powerOptionsButton->setMenu(powerMenu);
44
44
 
45
 
    ui->sessionCombo->setModel(m_greeter->sessionsModel());
 
45
    
 
46
    QLightDM::SessionsModel* sessionsModel = new QLightDM::SessionsModel(this);
 
47
    ui->sessionCombo->setModel(sessionsModel);
46
48
}
47
49
 
48
50
Panel::~Panel()