From a4f772312e94b058a0683ccba52a15eddf0ab983 Mon Sep 17 00:00:00 2001 From: xiaoming <2014500726@smail.xtu.edu.cn> Date: Thu, 19 Sep 2024 13:52:07 +0800 Subject: [PATCH] Update pre-built plugin [ListSerial](https://github.com/QuardCRT-platform/plugin-ListSerial) to V0.0.5 Signed-off-by: xiaoming <2014500726@smail.xtu.edu.cn> --- .github/scripts/plugin_list.json | 2 +- CHANGELOG.md | 6 ++++-- docs/changelog.md | 1 + src/mainwindow.cpp | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/scripts/plugin_list.json b/.github/scripts/plugin_list.json index 5e073a01..57dacac2 100644 --- a/.github/scripts/plugin_list.json +++ b/.github/scripts/plugin_list.json @@ -20,7 +20,7 @@ }, { "name": "plugin-ListSerial", - "url": "https://github.com/QuardCRT-platform/plugin-ListSerial/releases/download/V0.0.4", + "url": "https://github.com/QuardCRT-platform/plugin-ListSerial/releases/download/V0.0.5", "filetagname": "listserial", "platform": ["linux_x86_64", "windows_x86_64_mingw", "windows_x86_64_msvc", "macos_x86_64", "macos_arm64"] }, diff --git a/CHANGELOG.md b/CHANGELOG.md index 16ac3c9a..0668507e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ en-US: - Improve the default path of recording logs, etc. to the last saved path - Improve the appearance of the session tabs - Fix the small probability memory leak problem +- Update pre-built plugin [ListSerial](https://github.com/QuardCRT-platform/plugin-ListSerial) to V0.0.5 zh-CN: @@ -27,6 +28,7 @@ zh-CN: - 改进记录日志等默认路径为上次保存路径 - 改进会话标签外观 - 修复可能存在的小概率内存泄漏问题 +- 更新预构建插件[ListSerial](https://github.com/QuardCRT-platform/plugin-ListSerial)到V0.0.5版本 ## [[V0.5.0](https://github.com/QQxiaoming/quardCRT/releases/tag/V0.5.0)] - 2024-08-26 @@ -62,7 +64,7 @@ zh-CN: - 修复锁定/解锁会话时目标会话对象不准确 - 修复浮动窗口上下文菜单中部分功能无法使用的问题 - 修复不同情况下新建会话名称不一致问题 [#45](https://github.com/QQxiaoming/quardCRT/issues/45) -- 更新预构建插件[timestamp](https://github.com/QuardCRT-platform/plugin-timestamp)到V0.0.3版本,更新预构建插件CharacterCode到V0.0.4版本 +- 更新预构建插件[timestamp](https://github.com/QuardCRT-platform/plugin-timestamp)到V0.0.3版本 ## [[V0.4.8](https://github.com/QQxiaoming/quardCRT/releases/tag/V0.4.8)] - 2024-07-26 @@ -100,7 +102,7 @@ zh-CN: - 改进查找窗口在每次打开时自动填入当前选择的文本 - 改进状态栏 - 修复非英文环境下Telnet会话存储配置错误导致无法连接问题 [#IAADHZ](https://gitee.com/QQxiaoming/quardCRT/issues/IAADHZ) -- 新增预构建插件[timestamp](https://github.com/QuardCRT-platform/plugin-timestamp),更新预构建插件[ListSerial](https://github.com/QuardCRT-platform/plugin-ListSerial)到V0.0.3版本,更新预构建插件CharacterCode到V0.0.4版本 +- 新增预构建插件[timestamp](https://github.com/QuardCRT-platform/plugin-timestamp),更新预构建插件[ListSerial](https://github.com/QuardCRT-platform/plugin-ListSerial)到V0.0.3版本,更新预构建插件[CharacterCode](https://github.com/QuardCRT-platform/plugin-CharacterCode)到V0.0.4版本 ## [[V0.4.7](https://github.com/QQxiaoming/quardCRT/releases/tag/V0.4.7)] - 2024-06-26 diff --git a/docs/changelog.md b/docs/changelog.md index bc4c068c..7d773b3c 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -14,6 +14,7 @@ - Improve the default path of recording logs, etc. to the last saved path - Improve the appearance of the session tabs - Fix the small probability memory leak problem +- Update pre-built plugin [ListSerial](https://github.com/QuardCRT-platform/plugin-ListSerial) to V0.0.5 ## [[V0.5.0](https://github.com/QQxiaoming/quardCRT/releases/tag/V0.5.0)] - 2024-08-26 diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 9d8dbbf3..efac93cf 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1926,6 +1926,7 @@ void CentralWidget::menuAndToolBarRetranslateUi(void) { void CentralWidget::menuAndToolBarInit(bool disable_plugin) { GlobalSetting settings; + int size = 0; ui->toolBar->setIconSize(QSize(16,16)); ui->toolBar->setToolButtonStyle(Qt::ToolButtonIconOnly); @@ -2215,7 +2216,7 @@ void CentralWidget::menuAndToolBarInit(bool disable_plugin) { cleanAllRecentScriptAction = new QAction(this); scriptMenu->addAction(cleanAllRecentScriptAction); #ifdef ENABLE_PYTHON - int size = settings.beginReadArray("Global/RecentScript"); + size = settings.beginReadArray("Global/RecentScript"); for(int i=0;i