From dfef23453ad106efad95e40cbeaa191d8b3f6961 Mon Sep 17 00:00:00 2001 From: wumu <mayi@mayi.com> Date: 星期四, 21 九月 2023 23:07:45 +0800 Subject: [PATCH] 0921 --- internal_system_v1/coverinfo.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/internal_system_v1/coverinfo.cpp b/internal_system_v1/coverinfo.cpp index b1eb2ea..c25e5a5 100644 --- a/internal_system_v1/coverinfo.cpp +++ b/internal_system_v1/coverinfo.cpp @@ -7,6 +7,7 @@ #include <QSqlRecord> int g_comId = 0; // 鍏ㄥ眬鍙橀噺锛屼繚瀛樺崟浣峣d +QString g_dataRootPath; // 鏁版嵁鐨勬牴鐩綍 CoverInfo::CoverInfo(QWidget *parent) : QMainWindow(parent), @@ -42,6 +43,7 @@ if(dirRe.exists()){ dirPath = dirPathRelease; } + g_dataRootPath = dirPath; // 灏嗘牴鐩綍淇濆瓨璧锋潵 QStringList list; QDirIterator it(dirPath, {"*.xls","*.xlsx"}, QDir::Files | QDir::NoSymLinks | QDir::NoDotAndDotDot, QDirIterator::Subdirectories); while(it.hasNext()) -- Gitblit v1.8.0