Skip to content

Commit

Permalink
Hide a feature in V0.2.2
Browse files Browse the repository at this point in the history
The official fix of the file permission bug has not been released yet.
To use this function, a patch is necessary.
  • Loading branch information
wh201906 committed Nov 1, 2022
1 parent 3245202 commit 3a1314c
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[中文](doc/CHANGELOG/CHANGELOG_zh_CN.md)

## V0.2.2
+ Android: Supports share a file to SerialTest then send it(built with Qt 5.15.7 or higher version)
+ Add dark theme(from https://github.com/ColinDuquesnoy/QDarkStyleSheet)
+ Add single orientation pinch gesture on plotter
+ Add some useful snippets for control panel(in `demo/Control/`)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Supports serial port, Bluetooth SPP client/server, Bluetooth LE client, TCP clie
+ Small screen support: Show sended/received data only
+ Small screen support: Full screen mode
+ Drag/Scale gesture support on Plotter
+ Share text/file to SerialTest then send it
+ Share text to SerialTest then send it

</details>

Expand Down
1 change: 0 additions & 1 deletion doc/CHANGELOG/CHANGELOG_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[English](../../CHANGELOG.md)

## V0.2.2
+ Android: 支持分享文件到SerialTest并发送(需使用Qt 5.15.7或更高版本编译)
+ 添加暗黑主题(源于https://github.com/ColinDuquesnoy/QDarkStyleSheet)
+ 绘图面板支持单向缩放
+ 添加常用控制命令(位于demo/Control/文件夹下)
Expand Down
2 changes: 1 addition & 1 deletion doc/README/README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
+ 小屏适配:数据收发面板可仅显示已发送/已接收数据
+ 小屏适配:支持全屏模式
+ 绘图界面支持缩放/拖动手势
+ 支持分享文本或文件到SerialTest并发送
+ 支持分享文本到SerialTest并发送

</details>

Expand Down
1 change: 0 additions & 1 deletion fastlane/metadata/android/en-US/changelogs/22.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
V0.2.2
+ Android: Supports share a file to SerialTest then send it(built with Qt 5.15.7 or higher version)
+ Add dark theme(from https://github.com/ColinDuquesnoy/QDarkStyleSheet)
+ Add single orientation pinch gesture on plotter
+ Add some useful snippets for control panel(in `demo/Control/`)
Expand Down
1 change: 0 additions & 1 deletion fastlane/metadata/android/zh-CN/changelogs/22.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
V0.2.2
+ Android: 支持分享文件到SerialTest并发送(需使用Qt 5.15.7或更高版本编译)
+ 添加暗黑主题(源于https://github.com/ColinDuquesnoy/QDarkStyleSheet)
+ 绘图面板支持单向缩放
+ 添加常用控制命令(位于demo/Control/文件夹下)
Expand Down
4 changes: 2 additions & 2 deletions src/filetab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ void FileTab::onSharedFileReceived(JNIEnv *env, jobject thiz, jstring text)
// The QtNative.getUriWithValidPermission() will only check the persisted permissions in Qt 5.15.2.
// But when an app shared a file by Intent, the permissions are usually transient.
// This bug is fixed in the commit ec497d5e6587ac247a326fb9a0a11c37bb197786 of qtbase,
// which is released in Qt 5.15.7.
// To make this work, you need to build it with Qt 5.15.7 or higher version
// which has not been released yet.
// To make this work, you need to make a patch from this commit or waiting for the associated release version

// set the file path
Q_UNUSED(thiz)
Expand Down

0 comments on commit 3a1314c

Please sign in to comment.