#include "FormOcppConfig.h"
#include "ui_FormOcppConfig.h"

#include "LanguageManager.h"

FormOcppConfig::FormOcppConfig(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::FormOcppConfig)
{
    ui->setupUi(this);

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

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