新增截图预览

This commit is contained in:
RigoLigoRLC
2022-03-13 20:27:03 +08:00
parent 904cc3cb1c
commit 8d40a0598e
9 changed files with 321 additions and 49 deletions

View File

@@ -6,7 +6,7 @@
#include "spkstore.h"
#include "spkdownload.h"
#include "spkmsgbox.h"
#include "spkimgviewer.h"
int main(int argc, char *argv[])
@@ -30,21 +30,5 @@ int main(int argc, char *argv[])
SpkStore store(false, LogPath);
// SpkDownloadMgr dl;
// dl.SetNewServers({
// "https://d1.store.deepinos.org.cn/",
// "https://d2.store.deepinos.org.cn/",
// "https://d3.store.deepinos.org.cn/",
// "https://d4.store.deepinos.org.cn/",
// "https://d5.store.deepinos.org.cn/"
// });
// dl.SetDestinationFolder("/tmp/");
// dl.StartNewDownload("store/office/cn.com.10jqka/cn.com.10jqka_1.6.1.2_amd64.deb", 0);
// QObject::connect(&dl, &SpkDownloadMgr::DownloadStopped,
// [&](SpkDownloadMgr::TaskResult, int)
// {
// SpkMsgBox::StaticExec("Finished", "");
// });
return QApplication::exec();
}