mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
version-specific user track
This commit is contained in:
parent
8d780bd589
commit
b02b9d711b
@ -3590,7 +3590,9 @@ void VMainWindow::collectUserStat() const
|
|||||||
qDebug() << "send user track" << QDate::currentDate();
|
qDebug() << "send user track" << QDate::currentDate();
|
||||||
|
|
||||||
QWebEnginePage *page = new QWebEnginePage;
|
QWebEnginePage *page = new QWebEnginePage;
|
||||||
page->load(QUrl("https://tamlok.github.io/user_track/vnote.html"));
|
|
||||||
|
QString url = QString("https://tamlok.github.io/user_track/vnote/vnote_%1.html").arg(VConfigManager::c_version);
|
||||||
|
page->load(QUrl(url));
|
||||||
connect(page, &QWebEnginePage::loadFinished,
|
connect(page, &QWebEnginePage::loadFinished,
|
||||||
this, [page](bool) {
|
this, [page](bool) {
|
||||||
VUtils::sleepWait(2000);
|
VUtils::sleepWait(2000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user