Skip to content

Commit

Permalink
feat(ft): support kdh and nh
Browse files Browse the repository at this point in the history
  • Loading branch information
sainnhe committed Mar 31, 2024
1 parent 5ea291c commit 1fc1ffc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

## [Unreleased]

- 支持 .kdh 和 .nh 文件

### Changed

- 切换 GitHub Pages 主题,并添加下载按钮。
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

特性:

- [x] 支持 CAJ/KDH/NH 文件格式
- [x] 跨平台 (Windows 7, 8, 10, 11; macOS; Linux)
- [x] 支持 32 & 64 位 CPU 架构
- [x] 批量转换
Expand Down
2 changes: 1 addition & 1 deletion src/slots/page1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
void CAJ2PDF::handlePage1SelectInputButton() {
// 添加新选择的文件
inputFiles += QFileDialog::getOpenFileNames(
this, tr("打开 CAJ 文件"), QDir::homePath(), tr("CAJ 文件 (*.caj)"));
this, tr("打开 CAJ 文件"), QDir::homePath(), tr("CAJ/KDH/NH 文件 (*.caj *.kdh *.nh)"));
// 删除重复文件
QVector<QString> inputFilesVec = inputFiles.toVector();
std::sort(inputFilesVec.begin(), inputFilesVec.end());
Expand Down

0 comments on commit 1fc1ffc

Please sign in to comment.