1
0
Эх сурвалжийг харах

use github.io for user track

Le Tan 6 жил өмнө
parent
commit
585bfacf5d

+ 0 - 7
src/resources/user_stat.html

@@ -1,7 +0,0 @@
-<html>
-    <head>
-        <script type="text/javascript" src="http://tajs.qq.com/stats?sId=66167380" charset="UTF-8"></script>
-    </head>
-    <body>
-    </body>
-</html>

+ 1 - 1
src/vmainwindow.cpp

@@ -3546,7 +3546,7 @@ void VMainWindow::setupFileListSplitOut(bool p_enabled)
 void VMainWindow::collectUserStat() const
 {
     QWebEnginePage *page = new QWebEnginePage;
-    page->load(QUrl("qrc:/resources/user_stat.html"));
+    page->load(QUrl("https://tamlok.github.io/user_track/vnote.html"));
     connect(page, &QWebEnginePage::loadFinished,
             this, [page](bool) {
                 VUtils::sleepWait(2000);

+ 0 - 1
src/vnote.qrc

@@ -287,6 +287,5 @@
         <file>resources/icons/table.svg</file>
         <file>utils/wavedrom/wavedrom.min.js</file>
         <file>utils/wavedrom/wavedrom-theme.js</file>
-        <file>resources/user_stat.html</file>
     </qresource>
 </RCC>