More fixes for compiler warnings - cleaning up code and making assumptions more clear

This commit is contained in:
Collin Kidder
2019-08-12 22:02:07 -04:00
parent ce427a75b0
commit b6a15a28cd
6 changed files with 78 additions and 73 deletions
+2 -1
View File
@@ -224,6 +224,7 @@ void GraphingWindow::updatedFrames(int numFrames)
void GraphingWindow::plottableClick(QCPAbstractPlottable* plottable, int dataIdx, QMouseEvent* event)
{
Q_UNUSED(dataIdx);
qDebug() << "plottableClick";
double x, y;
QCPGraph *graph = reinterpret_cast<QCPGraph *>(plottable);
@@ -1150,7 +1151,7 @@ void GraphingWindow::createGraph(GraphParams &params, bool createGraphParam)
//qDebug() << tempVal;
if (secondsMode)
{
params.x[j] = (double)(frameCache[k].timestamp) / 1000000.0;
params.x[j] = (frameCache[k].timestamp) / 1000000.0;
}
else
{