From 6d3efe7ff2afba811dd5f3323527e9fc3342b388 Mon Sep 17 00:00:00 2001 From: wumu <mayi@mayi.com> Date: 星期一, 08 一月 2024 22:33:46 +0800 Subject: [PATCH] 0108 --- internal_system_v1/coverinfo.cpp | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/internal_system_v1/coverinfo.cpp b/internal_system_v1/coverinfo.cpp index b1eb2ea..a749448 100644 --- a/internal_system_v1/coverinfo.cpp +++ b/internal_system_v1/coverinfo.cpp @@ -1,4 +1,4 @@ -#include "coverinfo.h" +锘�#include "coverinfo.h" #include "ui_coverinfo.h" #include <QDebug> #include <QDirIterator> @@ -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()) @@ -126,6 +128,7 @@ } if(business.size() > 0){ ui->label_business->setText(business); + ui->label_business->setToolTip(business); }else{ ui->label_business->setText(""); } -- Gitblit v1.8.0