Explorar el Código

update face verify params: returnUrl

Yao hace 16 horas
padre
commit
4210e5b122
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      blastopepage.cpp
  2. 2 2
      mainwindow.cpp

+ 1 - 1
blastopepage.cpp

@@ -125,7 +125,7 @@ void BlastOpePage::closeWebViewAndRestoreUI() {
 // 槽函数:处理 URL 改变事件
 void BlastOpePage::onUrlChanged(const QUrl &newUrl) {
     LoadingWidget::showLoading(this, "跳转验证页...");
-    if (newUrl.scheme() == "https" && newUrl.host() == "www.baidu.com") {
+    if (newUrl.scheme() == "https" && newUrl.host() == "www.integrateblaster.com") {
         closeWebViewAndRestoreUI();
         QNetworkAccessManager manager;
         QUrl requestUrl(

+ 2 - 2
mainwindow.cpp

@@ -19,8 +19,8 @@
 MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) {
     try {
         this->setWindowFlags(Qt::FramelessWindowHint);
-        // this->setWindowState(Qt::WindowMaximized);  // Maximizes the window
-        this->setFixedSize(1024, 768);
+        this->setWindowState(Qt::WindowMaximized);  // Maximizes the window
+        // this->setFixedSize(1920, 1080);
         ui->setupUi(this);
         LoadingWidget::init(ui->stackedWidget);