更新代码

This commit is contained in:
feiyangqingyun
2021-07-02 17:18:16 +08:00
parent 9fb921c40a
commit db7be43ae2
98 changed files with 93 additions and 640 deletions

View File

@@ -28,7 +28,7 @@ public:
//样式颜色结构体
struct StyleColor {
QString position; //位置 left right top bottom
bool textBesideIcon; //文字在图标下面
bool textBesideIcon; //文字在图标左侧
quint32 iconSize; //图标字体尺寸
quint32 iconWidth; //图标图片宽度

View File

@@ -100,8 +100,8 @@ QString QUIHelper::appPath()
QString QUIHelper::getUuid()
{
QString uuid = QUuid::createUuid().toString();
uuid = uuid.replace("{", "");
uuid = uuid.replace("}", "");
uuid.replace("{", "");
uuid.replace("}", "");
return uuid;
}
@@ -219,8 +219,8 @@ bool QUIHelper::checkIniFile(const QString &iniFile)
bool ok = true;
while (!file.atEnd()) {
QString line = file.readLine();
line = line.replace("\r", "");
line = line.replace("\n", "");
line.replace("\r", "");
line.replace("\n", "");
QStringList list = line.split("=");
if (list.count() == 2) {