Closed N-Dekker closed 4 years ago
All five data members of HDF5Loader were leaking:
QString _fileName; QFileDialog *_openFileDialog; QComboBox *_conversionCombo; QCheckBox *_normalizeCheck; QLabel *_normalizeLabel;
This pull request fixes these memory leaks by declaring them as local variables within HDF5Loader::loadData().
HDF5Loader::loadData()
It also replaces an old-style string-based signal-slot connect by a modern (Qt 5) functor-based connect, just to ease fixing the memory leaks.
All five data members of HDF5Loader were leaking:
This pull request fixes these memory leaks by declaring them as local variables within
HDF5Loader::loadData()
.It also replaces an old-style string-based signal-slot connect by a modern (Qt 5) functor-based connect, just to ease fixing the memory leaks.