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) //void systemSettingForm::changeEvent(QEvent* event)
{ //{
if (event->type() == QEvent::LanguageChange) // if (event->type() == QEvent::LanguageChange)
{ // {
ui->retranslateUi(this); // ui->retranslateUi(this);
} // }
} //}

View File

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