Skip to content

Commit

Permalink
[README.md和main.cc文件更新]
Browse files Browse the repository at this point in the history
- 更新了README.md和main.cc文件,以改进文档和应用程序的行为。
- 在README.md中,对图片的Markdown语法进行了修正,以确保图片能够正确显示。
- 修复了main.cc中的Crash应用启动窗口激活问题,通过添加`app.setActiveWindow(&w);`确保窗口在启动时被激活。
  • Loading branch information
RealChuan committed May 31, 2024
1 parent e172460 commit cef84e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@
- [支持Apple Silicon原生编译;](#问题和备注)
- 支持[actions](.github/workflows/cmake.yml)编译,打包、发布;

<div align="center"><img src="doc/Qt-App.jpg" width="90%" height="90%" /></div>
<div align="center">
<img src="doc/Qt-App.jpg" width="90%" height="90%">
</div>

## CrashReport

崩溃报告程序;

<div align="center"><img src="doc/CrashReport.jpg" width="50%" height="50%" /></div>
<div align="center">
<img src="doc/CrashReport.jpg" width="50%" height="50%">
</div>

## 代码结构

Expand Down
1 change: 1 addition & 0 deletions src/apps/crashreport/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ auto main(int argc, char *argv[]) -> int
QNetworkProxyFactory::setUseSystemConfiguration(true);

Crash::CrashWidgets w;
app.setActiveWindow(&w);
w.show();

auto result = app.exec();
Expand Down

0 comments on commit cef84e7

Please sign in to comment.