改进说明

master
feiyangqingyun 2021-06-12 14:54:35 +08:00
parent 6d86d5e161
commit f8f040eb5f
6 changed files with 13 additions and 9 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) {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 13 KiB

BIN
web/snap/9-6-1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long