diff options
author | David Robillard <d@drobilla.net> | 2022-07-13 23:27:06 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-17 17:41:32 -0400 |
commit | 4ee808f7f4dba73768044eaee242d617bb27d273 (patch) | |
tree | 5a065d0c427b4429c07f253f1ea71e5d0f067c4c /src | |
parent | 3c46e2228cc6c2b0ed432eb0585b743831539e9c (diff) | |
download | suil-4ee808f7f4dba73768044eaee242d617bb27d273.tar.gz suil-4ee808f7f4dba73768044eaee242d617bb27d273.tar.bz2 suil-4ee808f7f4dba73768044eaee242d617bb27d273.zip |
Use default member initialization
Diffstat (limited to 'src')
-rw-r--r-- | src/x11_in_qt5.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/x11_in_qt5.cpp b/src/x11_in_qt5.cpp index fe8e473..e691200 100644 --- a/src/x11_in_qt5.cpp +++ b/src/x11_in_qt5.cpp @@ -45,10 +45,6 @@ class SuilQX11Widget : public QWidget public: SuilQX11Widget(QWidget* parent, Qt::WindowFlags wflags) : QWidget(parent, wflags) - , _instance(nullptr) - , _idle_iface(nullptr) - , _window(0) - , _ui_timer(0) {} SuilQX11Widget(const SuilQX11Widget&) = delete; @@ -129,10 +125,10 @@ protected: } private: - SuilInstance* _instance; - const LV2UI_Idle_Interface* _idle_iface; - Window _window; - int _ui_timer; + SuilInstance* _instance{}; + const LV2UI_Idle_Interface* _idle_iface{}; + Window _window{}; + int _ui_timer{}; }; SuilQX11Widget::~SuilQX11Widget() = default; |