~lukas-kde/unity8/dashboard

« back to all changes in this revision

Viewing changes to plugins/LightDM/SessionsModel.cpp

  • Committer: Lukáš Tinkl
  • Date: 2017-01-26 12:13:17 UTC
  • mfrom: (2749.1.49 unity8)
  • Revision ID: lukas.tinkl@canonical.com-20170126121317-qms39s9pikclidbe
merge trunk, fix conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2015 Canonical, Ltd.
 
2
 * Copyright (C) 2015-2016 Canonical, Ltd.
3
3
 *
4
4
 * This program is free software; you can redistribute it and/or modify
5
5
 * it under the terms of the GNU General Public License as published by
128
128
    }
129
129
 
130
130
    setModel(m_model);
131
 
    setSourceModel(m_model);
132
131
    setSortCaseSensitivity(Qt::CaseInsensitive);
133
132
    setSortLocaleAware(true);
134
133
    setSortRole(Qt::DisplayRole);