on xenial help sign in
fix warning and copyright header
ccaa671Michael Zanetti
plugins/Unity/Launcher/quicklistmodel.cpp+19
@@ -1,3 +1,21 @@
1+/* Copyright (C) 2013 Canonical, Ltd.
2+ *
3+ * Authors:
4+ * Michael Zanetti <michael.zanetti@canonical.com>
5+ *
6+ * This program 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+ * This program 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+
1#include "quicklistmodel.h"
19#include "quicklistmodel.h"
2
20
3QuickListModel::QuickListModel(QObject *parent) :
21QuickListModel::QuickListModel(QObject *parent) :
@@ -25,6 +43,7 @@ QuickListEntry QuickListModel::get(int index) const
25
43
26int QuickListModel::rowCount(const QModelIndex &index) const
44int QuickListModel::rowCount(const QModelIndex &index) const
27{
45{
46+ Q_UNUSED(index)
28 return m_list.count();
47 return m_list.count();
29}
48}
30
49