浏览代码

replace deprecated signal

Andrey Filipenkov 3 年之前
父节点
当前提交
cfba8a5373
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      launcher/settingsView/csettingsview_moc.cpp
  2. 1 1
      launcher/settingsView/csettingsview_moc.h

+ 1 - 1
launcher/settingsView/csettingsview_moc.cpp

@@ -122,7 +122,7 @@ CSettingsView::~CSettingsView()
 }
 
 
-void CSettingsView::on_comboBoxResolution_currentIndexChanged(const QString & arg1)
+void CSettingsView::on_comboBoxResolution_currentTextChanged(const QString & arg1)
 {
 	QStringList list = arg1.split("x");
 

+ 1 - 1
launcher/settingsView/csettingsview_moc.h

@@ -29,7 +29,7 @@ public:
 private slots:
 	void on_checkBoxFullScreen_stateChanged(int state);
 
-	void on_comboBoxResolution_currentIndexChanged(const QString & arg1);
+	void on_comboBoxResolution_currentTextChanged(const QString & arg1);
 
 	void on_comboBoxFullScreen_currentIndexChanged(int index);