From 8f59098bb215ce21d0733791576f88a284b37c57 Mon Sep 17 00:00:00 2001 From: jiayulong Date: Wed, 29 Apr 2026 11:57:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F=E9=A1=B5=E5=83=8F=E7=B4=A0=E9=BB=98?= =?UTF-8?q?=E8=AE=A410000=EF=BC=8C=E5=8F=AF=E5=9C=A8config\config.ini?= =?UTF-8?q?=E9=85=8D=E7=BD=AEiHeight?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logPlus/mainwindow.cpp | 2 +- logPlus/qtcommonclass.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/logPlus/mainwindow.cpp b/logPlus/mainwindow.cpp index afed732..4e05acd 100644 --- a/logPlus/mainwindow.cpp +++ b/logPlus/mainwindow.cpp @@ -173,7 +173,7 @@ void MainWindow::ReadConfig() //(0:采用最大30000像素高度, 1:采用屏幕工作区域高度, 其他数字:高度采用g_iHeight_MyCustom的值) int iHeight = 10000; //读取,MyCustom界面高度 - //qtCommon->readHeight(configPath, iHeight); + qtCommon->readHeight(configPath, iHeight); g_iHeight_MyCustom = iHeight; //Debug模式 diff --git a/logPlus/qtcommonclass.cpp b/logPlus/qtcommonclass.cpp index 73d4be2..b4c7843 100644 --- a/logPlus/qtcommonclass.cpp +++ b/logPlus/qtcommonclass.cpp @@ -51,7 +51,7 @@ double QtCommonClass::readHeight(QString filePathName, int &iHeight) { QSettings set(filePathName, QSettings::IniFormat); set.beginGroup("config"); - iHeight = set.value("iHeight", "1").toInt(); + iHeight = set.value("iHeight", "10000").toInt(); set.endGroup(); return 0;