Closed Murmele closed 3 years ago
I think I commented on the preprocessor macro somewhere turn it into a static function.
this
m_model->item(FileTypes_T::Datasets, 0)->appendRow(columnData);
is known as the "train wreck" anti pattern. pointers must be checked before dereferencing (e.g. in function).
Ok good to know I will change it
@felix-salfelder now I'm checking if the item is available or not.
I think I commented on the preprocessor macro somewhere turn it into a static function.
this
m_model->item(FileTypes_T::Datasets, 0)->appendRow(columnData);
is known as the "train wreck" anti pattern. pointers must be checked before dereferencing (e.g. in function).