delete uncessary

This commit is contained in:
xueyan hu
2021-12-23 17:54:25 +08:00
parent 52c156f8b4
commit 917e9a11b2
2 changed files with 14 additions and 14 deletions

View File

@@ -192,10 +192,10 @@ void systemSettingForm::saveServersInfo()
}
void systemSettingForm::changeEvent(QEvent* event)
{
if (event->type() == QEvent::LanguageChange)
{
ui->retranslateUi(this);
}
}
//void systemSettingForm::changeEvent(QEvent* event)
//{
// if (event->type() == QEvent::LanguageChange)
// {
// ui->retranslateUi(this);
// }
//}

View File

@@ -9,7 +9,7 @@ class QLineEdit;
class ImageSwitch;
namespace Ui {
class systemSettingForm;
class systemSettingForm;
}
class systemSettingForm : public QWidget
@@ -17,14 +17,14 @@ class systemSettingForm : public QWidget
Q_OBJECT
public:
explicit systemSettingForm(QWidget *parent = nullptr);
explicit systemSettingForm(QWidget* parent = nullptr);
~systemSettingForm();
protected:
void changeEvent(QEvent* event);
//protected:
// void changeEvent(QEvent* event);
private:
Ui::systemSettingForm *ui;
Ui::systemSettingForm* ui;
SelectDialog* sd_protocal = nullptr;
SelectDialog* sd_filter = nullptr;