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
+3
View File
@@ -41,6 +41,7 @@ void CANDataGrid::mousePressEvent(QMouseEvent *event)
void CANDataGrid::paintEvent(QPaintEvent *event)
{
Q_UNUSED(event);
int x, y;
unsigned char prevByte, thisByte;
bool thisBit, prevBit;
@@ -140,6 +141,8 @@ void CANDataGrid::paintEvent(QPaintEvent *event)
void CANDataGrid::saveImage(QString filename, int width, int height)
{
Q_UNUSED(width); //currently unused but I want to use them in the future
Q_UNUSED(height);
//can't quite do the below commented out stuff
//it works but doesn't scale the image into that pixmap. Need to
//figure out how to draw the size of the pixmap