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;