mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-30 12:18:05 -06:00
Coding style, use nullptr and other minor things
This commit is contained in:
committed by
sledgehammer999
parent
8482464ad0
commit
07130c4b26
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user