mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
refactor: Remove method without any effect
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user