refactor: Remove method without any effect

This commit is contained in:
Lars Toenning
2024-03-11 20:28:28 +01:00
parent 2edb17e6a5
commit 254ab22c93
2 changed files with 0 additions and 12 deletions

View File

@@ -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);

View File

@@ -85,9 +85,6 @@ namespace BlackGui
private:
QScopedPointer<Ui::CDbAutoStashingComponent> 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();