This commit is contained in:
leca 2024-11-28 00:29:49 +03:00
parent 4d658a817b
commit 54020c0925
4 changed files with 0 additions and 12 deletions

View File

@ -62,10 +62,6 @@ std::string MainWindow::makeRequestToOfd(std::string captcha) {
return checkContent;
}
void MainWindow::receiveSolvedCaptcha(std::string captcha) {
}
void MainWindow::on_parseButton_clicked() {
QString s;
switch (ui->tabWidget->currentIndex()) {
@ -84,7 +80,6 @@ void MainWindow::on_parseButton_clicked() {
do {
SolveCaptchaDialog dialog = SolveCaptchaDialog(this, &solved_captcha);
connect(&dialog, &SolveCaptchaDialog::solvedCaptcha, this, &MainWindow::receiveSolvedCaptcha);
dialog.exec();
is_captcha_solved = true;

View File

@ -27,7 +27,6 @@ public:
void onDecodedData(std::string);
std::string makeRequestToOfd(std::string captcha);
void receiveSolvedCaptcha(std::string);
private slots:
void on_parseButton_clicked();

View File

@ -26,7 +26,6 @@ void SolveCaptchaDialog::accept() {
} else {
solved_captcha->erase();
solved_captcha->append(userInput);
// emit solvedCaptcha(userInput);
QDialog::accept();
}
}

View File

@ -15,11 +15,6 @@ public:
explicit SolveCaptchaDialog(QWidget *parent = nullptr, std::string* = nullptr) ;
~SolveCaptchaDialog();
signals:
void solvedCaptcha(std::string);
private:
Ui::SolveCaptchaDialog *ui;
std::string* solved_captcha;