Skip to content

Commit

Permalink
fix: 更改按钮名称
Browse files Browse the repository at this point in the history
  • Loading branch information
s12mmm3 committed Feb 25, 2024
1 parent a2f6814 commit 6aa120d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Test/tabapitest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void TabApiTest::test_send(QTextEdit* textEdit_ret, QStringList functions) {
textEdit_ret->setText(QJsonDocument::fromVariant(rets).toJson(QJsonDocument::Indented));
}

void TabApiTest::on_pushButton_send_clicked()
void TabApiTest::on_pushButton_tabApiTest_send_clicked()
{
test_send(ui->textEdit_ret,
ui->textEdit_arg->toPlainText().split("\n"));
Expand Down
2 changes: 1 addition & 1 deletion Test/tabapitest.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class TabApiTest : public QWidget
void setFunctions(QStringList functions);

private slots:
void on_pushButton_send_clicked();
void on_pushButton_tabApiTest_send_clicked();

void test_send(QTextEdit* textEdit_ret, QStringList functions);

Expand Down
2 changes: 1 addition & 1 deletion Test/tabapitest.ui
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_send">
<widget class="QPushButton" name="pushButton_tabApiTest_send">
<property name="text">
<string>Send</string>
</property>
Expand Down

0 comments on commit 6aa120d

Please sign in to comment.