#include "FormAuthConfig.h"
#include "ui_FormAuthConfig.h"

#include "LanguageManager.h"

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

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

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

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