From ec8950bd29c0a7589838a45ce98d16dc564fddd3 Mon Sep 17 00:00:00 2001
From: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Date: Tue, 8 Mar 2016 02:23:54 -0300
Subject: [PATCH 05/21] Clean TankItem

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
---
 profile-widget/tankitem.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/profile-widget/tankitem.cpp b/profile-widget/tankitem.cpp
index c0e75a3..aba41d6 100644
--- a/profile-widget/tankitem.cpp
+++ b/profile-widget/tankitem.cpp
@@ -5,6 +5,7 @@
 #include <QPen>
 
 TankItem::TankItem(QObject *parent) :
+	QObject(parent),
 	QGraphicsRectItem(),
 	dataModel(0),
 	pInfoEntry(0),
@@ -78,8 +79,9 @@ void TankItem::createBar(qreal x, qreal w, struct gasmix *gas)
 
 void TankItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)
 {
+	Q_UNUSED(topLeft);
+	Q_UNUSED(bottomRight);
 	// We don't have enougth data to calculate things, quit.
-
 	if (!dataModel || !pInfoEntry || !pInfoNr)
 		return;
 
-- 
2.5.4 (Apple Git-61)

