diff --git a/src/blackgui/components/dbautostashingcomponent.cpp b/src/blackgui/components/dbautostashingcomponent.cpp index 4df5a2872..de85a267e 100644 --- a/src/blackgui/components/dbautostashingcomponent.cpp +++ b/src/blackgui/components/dbautostashingcomponent.cpp @@ -55,7 +55,6 @@ namespace BlackGui::Components ui->le_MaxModelsStashed->setValidator(new QIntValidator(10, CDbStashComponent::MaxModelPublished, this)); Q_ASSERT_X(this->getMappingComponent(), Q_FUNC_INFO, "Expect mapping componet"); - connect(sGui->getWebDataServices(), &CWebDataServices::dataRead, this, &CDbAutoStashingComponent::onEntitiesRead, Qt::QueuedConnection); connect(ui->tb_ResetDescription, &QToolButton::clicked, this, &CDbAutoStashingComponent::resetDescription); this->resetDescription(); @@ -111,14 +110,6 @@ namespace BlackGui::Components this->setVisible(true); } - void CDbAutoStashingComponent::onEntitiesRead(CEntityFlags::Entity entity, CEntityFlags::ReadState readState, int count, const QUrl &url) - { - if (readState != CEntityFlags::ReadFinished) { return; } - Q_UNUSED(count) - Q_UNUSED(entity) - Q_UNUSED(url) - } - void CDbAutoStashingComponent::resetDescription() { ui->rb_DescriptionEmptyOnly->setChecked(true); diff --git a/src/blackgui/components/dbautostashingcomponent.h b/src/blackgui/components/dbautostashingcomponent.h index e26c6e20c..b36efe40b 100644 --- a/src/blackgui/components/dbautostashingcomponent.h +++ b/src/blackgui/components/dbautostashingcomponent.h @@ -85,9 +85,6 @@ namespace BlackGui private: QScopedPointer ui; - //! Data have been read - void onEntitiesRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState readState, int count, const QUrl &url); - //! Reset the description settings void resetDescription();