#include "FormFirmwareInfo.h"
#include "ui_FormFirmwareInfo.h"

#include "LanguageManager.h"

FormFirmwareInfo::FormFirmwareInfo(BaseWidget *parent)
    : BaseWidget(parent)
    , ui(new Ui::FormFirmwareInfo)
{
    ui->setupUi(this);

    connect(LanguageManager::instance(), &LanguageManager::languageChanged, this, [this]() { ui->retranslateUi(this); });
}

FormFirmwareInfo::~FormFirmwareInfo()
{
    delete ui;
}

bool FormFirmwareInfo::returnParent()
{
    return true;
}
