- cleanup

This commit is contained in:
Dorian Zedler 2019-03-27 22:23:34 +01:00
parent dadebe0d65
commit cf085b54e8
2 changed files with 1 additions and 7 deletions

View file

@ -36,9 +36,6 @@ public slots:
double getCurrTime(); double getCurrTime();
QString getText(); QString getText();
//void handleStartpadTrigger();
//void handleToppadTrigger();
//helper functions //helper functions
void delay(int mSecs); void delay(int mSecs);
@ -47,5 +44,5 @@ public slots:
private: private:
QDateTime *date; QDateTime *date;
}; };
extern SpeedTimer * pGlobalSpeedTimer;
#endif // SPEEDTIMER_H #endif // SPEEDTIMER_H

View file

@ -1,7 +1,5 @@
#include "headers/speedtimer.h" #include "headers/speedtimer.h"
SpeedTimer * pGlobalSpeedTimer = nullptr;
SpeedTimer::SpeedTimer(QObject *parent) : QObject(parent) SpeedTimer::SpeedTimer(QObject *parent) : QObject(parent)
{ {
@ -111,7 +109,6 @@ QString SpeedTimer::getState(){
case CANCELLED: case CANCELLED:
return("CANCELLED"); return("CANCELLED");
} }
return("ERROR");
} }
double SpeedTimer::getCurrTime() { double SpeedTimer::getCurrTime() {