From 2cbf3cec59c923836868864e4f625a2b63febbcb Mon Sep 17 00:00:00 2001
From: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Date: Tue, 8 Mar 2016 02:28:17 -0300
Subject: [PATCH 18/21] Clean treemodel

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
---
 qt-models/treemodel.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/qt-models/treemodel.cpp b/qt-models/treemodel.cpp
index 558f690..01db352 100644
--- a/qt-models/treemodel.cpp
+++ b/qt-models/treemodel.cpp
@@ -13,6 +13,7 @@ TreeItem::~TreeItem()
 
 Qt::ItemFlags TreeItem::flags(const QModelIndex &index) const
 {
+	Q_UNUSED(index);
 	return Qt::ItemIsEnabled | Qt::ItemIsSelectable;
 }
 
@@ -25,6 +26,8 @@ int TreeItem::row() const
 
 QVariant TreeItem::data(int column, int role) const
 {
+	Q_UNUSED(column);
+	Q_UNUSED(role);
 	return QVariant();
 }
 
@@ -55,6 +58,9 @@ QVariant TreeModel::data(const QModelIndex &index, int role) const
 
 bool TreeItem::setData(const QModelIndex &index, const QVariant &value, int role)
 {
+	Q_UNUSED(index);
+	Q_UNUSED(value);
+	Q_UNUSED(role);
 	return false;
 }
 
@@ -99,5 +105,6 @@ int TreeModel::rowCount(const QModelIndex &parent) const
 
 int TreeModel::columnCount(const QModelIndex &parent) const
 {
+	Q_UNUSED(parent);
 	return columns;
 }
-- 
2.5.4 (Apple Git-61)

