on xenial help sign in
fix warning and copyright header
commitccaa671e6c88faca0ad9e9592f241325a6d332c5 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 5 Jul 2013, 14:16 (13 years ago) parentcb8ee62
1 file changed+19
plugins/Unity/Launcher/quicklistmodel.cpp+19
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+
119#include "quicklistmodel.h"
220
321QuickListModel::QuickListModel(QObject *parent) :
@@ -25,6 +43,7 @@ QuickListEntry QuickListModel::get(int index) const
2543
2644int QuickListModel::rowCount(const QModelIndex &index) const
2745{
46+ Q_UNUSED(index)
2847 return m_list.count();
2948}
3049