mirror of
https://github.com/Qv2ray/Qv2ray.git
synced 2025-05-20 02:40:20 +08:00
this
This commit is contained in:
parent
4a251ce7b4
commit
4bc0e9c78f
@ -282,7 +282,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
|
||||
this->show();
|
||||
|
||||
#ifndef DISABLE_AUTO_UPDATE
|
||||
requestHelper = new QvHttpRequestHelper();
|
||||
requestHelper = new QvHttpRequestHelper(this);
|
||||
connect(requestHelper, &QvHttpRequestHelper::httpRequestFinished, this, &MainWindow::VersionUpdate);
|
||||
requestHelper->get("https://api.github.com/repos/Qv2ray/Qv2ray/releases/latest");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user