X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.hpp;h=f1e40399c6ca863a7d22af09920c98c22d7ab96a;hp=e083fa13fdc1899d31da1ad6fe5978ebc2bb5483;hb=f54fc97e8c4c20b7a37f10b8fd125407eba17226;hpb=83b1c8d251386ac1980284c4668cbdd8e425550f diff --git a/pv/view/view.hpp b/pv/view/view.hpp index e083fa13..f1e40399 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -72,7 +72,7 @@ class CustomAbstractScrollArea : public QAbstractScrollArea { Q_OBJECT public: - CustomAbstractScrollArea(QWidget *parent = 0); + CustomAbstractScrollArea(QWidget *parent = nullptr); void setViewportMargins(int left, int top, int right, int bottom); bool viewportEvent(QEvent *event); }; @@ -96,7 +96,7 @@ private: static const int ScaleUnits[3]; public: - explicit View(Session &session, bool is_main_view=false, QWidget *parent = 0); + explicit View(Session &session, bool is_main_view=false, QWidget *parent = nullptr); Session& session(); const Session& session() const;