Skip to content

Commit

Permalink
fix read user agent error
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiaYen-Kan committed Feb 19, 2024
1 parent 3a05b95 commit 95a99f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3217,7 +3217,7 @@ void MainWindow::showOptionDlg(int index)

optionsDialog_->setProxy(mainApp->networkProxy());

optionsDialog_->editUserAgent_->setText(settings.value("userAgent", DEFAULT_USER_AGENT).toString());
optionsDialog_->editUserAgent_->setText(settings.value("Settings/userAgent", DEFAULT_USER_AGENT).toString());

int timeoutRequest = settings.value("Settings/timeoutRequest", 15).toInt();
int numberRequests = settings.value("Settings/numberRequest", 10).toInt();
Expand Down

0 comments on commit 95a99f3

Please sign in to comment.