Skip to content
Snippets Groups Projects
Commit 1606d7c9 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm onDestroyed handling

parent ddb5ee6d
No related branches found
No related tags found
1 merge request!2320remove inheritance from DataAccessWidget (#838)
Pipeline #127842 passed
......@@ -28,9 +28,6 @@ void DataAccessWidget::setBaseItem(QObject* item)
{
m_item = item;
ASSERT(jobxItem() || realDataItem());
disconnect(m_item, &QObject::destroyed, this, nullptr);
connect(m_item, &QObject::destroyed, [this] { m_item = nullptr; });
}
JobItem* DataAccessWidget::jobxItem() const
......
......@@ -27,8 +27,7 @@ class JobItem;
//! separately and as a list of items that is required for simultaneous, synchronous work while
//! plotting and changing their properties.
class DataAccessWidget : public QObject {
Q_OBJECT
class DataAccessWidget {
public:
explicit DataAccessWidget();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment