~osomon/webbrowser-app/fix-deleting-multiple-domains

« back to all changes in this revision

Viewing changes to src/app/webbrowser/TopSitesModel.qml

  • Committer: CI Train Bot
  • Date: 2015-12-10 15:31:37 UTC
  • mfrom: (1292.1.7 webbrowser-app)
  • Revision ID: ci-train-bot@canonical.com-20151210153137-xi93xu5wgxcuyyae
Resync trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2015 Canonical Ltd.
 
3
 *
 
4
 * This file is part of webbrowser-app.
 
5
 *
 
6
 * webbrowser-app is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; version 3.
 
9
 *
 
10
 * webbrowser-app is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
import QtQuick 2.4
 
20
import Ubuntu.Components 1.3
 
21
 
 
22
SortFilterModel {
 
23
    sort {
 
24
        order: Qt.DescendingOrder
 
25
        property: "visits"
 
26
    }
 
27
    filter {
 
28
        pattern: /^false$/
 
29
        property: "hidden"
 
30
    }
 
31
}