A bunch of little tweaks to remove compile-time warnings. Just convenience really.

This commit is contained in:
Collin Kidder
2015-08-13 21:00:34 -04:00
parent c4c0079675
commit 3ec7638e7b
14 changed files with 45 additions and 27 deletions
+4
View File
@@ -5,6 +5,7 @@
int CANFrameModel::rowCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
return filteredFrames.count();
}
@@ -15,6 +16,7 @@ int CANFrameModel::totalFrameCount()
int CANFrameModel::columnCount(const QModelIndex &index) const
{
Q_UNUSED(index);
return 6;
}
@@ -244,6 +246,8 @@ QVariant CANFrameModel::headerData(int section, Qt::Orientation orientation,
else
return QString::number(section + 1);
return QVariant();
}
void CANFrameModel::addFrame(CANFrame &frame, bool autoRefresh = false)