Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

fix: 优化插件插件路径返回#499

Merged
JerryQAQ-233 merged 3 commits into
Class-Widgets:mainfrom
baiyao105:Fix_15
Mar 8, 2025
Merged

fix: 优化插件插件路径返回#499
JerryQAQ-233 merged 3 commits into
Class-Widgets:mainfrom
baiyao105:Fix_15

Conversation

@baiyao105

Copy link
Copy Markdown
Member

总览

  • 插件路径处理优化
  • 布局分配逻辑

1. 优化插件路径处理

main.py

  • 直接用 os.path.normpathos.path.join 拼接路径,防止出现非正常的解析路径

2. 优化布局分配逻辑

plugin_plaza.py

  • QHBoxLayoutQVBoxLayout 改为独立创建,避免重复分配

@JerryQAQ-233 JerryQAQ-233 merged commit 983061f into Class-Widgets:main Mar 8, 2025
pizeroLOL pushed a commit to pizeroLOL/Class-Widgets that referenced this pull request Aug 10, 2025
# 总览
- 插件路径处理优化
- 布局分配逻辑

### 1. 优化插件路径处理
#### `main.py`
   - 直接用 `os.path.normpath` 和 `os.path.join` 拼接路径,防止出现非正常的解析路径

### 2. 优化布局分配逻辑
#### `plugin_plaza.py`
   - `QHBoxLayout` 和 `QVBoxLayout` 改为独立创建,避免重复分配
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants