每页像素默认10000,可在config\config.ini配置iHeight

This commit is contained in:
jiayulong 2026-04-29 11:57:57 +08:00
parent 5f4ec06978
commit 8f59098bb2
2 changed files with 2 additions and 2 deletions

View File

@ -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模式

View File

@ -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;