fix: typo and useless code
This commit is contained in:
@ -195,7 +195,6 @@ void ModrinthPage::onSelectionChanged(QModelIndex first, QModelIndex second)
|
||||
ui->versionSelectionBox->addItem(version.version, QVariant(version.id));
|
||||
}
|
||||
|
||||
updateVersionsUI();
|
||||
suggestCurrent();
|
||||
});
|
||||
QObject::connect(netJob, &NetJob::finished, this, [response, netJob] {
|
||||
@ -233,11 +232,6 @@ void ModrinthPage::updateUI()
|
||||
ui->packDescription->setHtml(text + current.description);
|
||||
}
|
||||
|
||||
void ModrinthPage::updateVersionsUI()
|
||||
{
|
||||
// idk
|
||||
}
|
||||
|
||||
void ModrinthPage::suggestCurrent()
|
||||
{
|
||||
if (!isOpened) {
|
||||
|
@ -71,7 +71,6 @@ class ModrinthPage : public QWidget, public BasePage {
|
||||
void suggestCurrent();
|
||||
|
||||
void updateUI();
|
||||
void updateVersionsUI();
|
||||
|
||||
void retranslate() override;
|
||||
void openedImpl() override;
|
||||
|
Reference in New Issue
Block a user