From b02b9d711b7ecf1a9507cc5e87dd61022120fbb5 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Tue, 21 May 2019 20:57:36 +0800 Subject: [PATCH] version-specific user track --- src/vmainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vmainwindow.cpp b/src/vmainwindow.cpp index a5f54bdb..e123e2b1 100644 --- a/src/vmainwindow.cpp +++ b/src/vmainwindow.cpp @@ -3590,7 +3590,9 @@ void VMainWindow::collectUserStat() const qDebug() << "send user track" << QDate::currentDate(); 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, this, [page](bool) { VUtils::sleepWait(2000);