Coding style, use nullptr and other minor things

This commit is contained in:
thalieht
2017-09-07 03:00:04 +03:00
parent f27e75e8fa
commit 525fdd6c2b
54 changed files with 361 additions and 403 deletions

View File

@@ -35,9 +35,10 @@
#include <QGraphicsView>
#include <QMap>
class QPen;
class SpeedPlotView: public QGraphicsView
class SpeedPlotView : public QGraphicsView
{
Q_OBJECT
@@ -71,7 +72,7 @@ public:
int y[NB_GRAPHS];
};
explicit SpeedPlotView(QWidget *parent = 0);
explicit SpeedPlotView(QWidget *parent = nullptr);
void setGraphEnable(GraphID id, bool enable);
void setViewableLastPoints(TimePeriod period);