Fix: Share view is not showing on iPadOS
This commit is contained in:
parent
4d88eb8e79
commit
b3eda4106d
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ bool MobileUtils::shareText(const QStringList& filesToSend) {
|
||||||
UIPopoverPresentationController *popController = activityController.popoverPresentationController;
|
UIPopoverPresentationController *popController = activityController.popoverPresentationController;
|
||||||
if (popController) {
|
if (popController) {
|
||||||
popController.sourceView = qtController.view;
|
popController.sourceView = qtController.view;
|
||||||
|
popController.sourceRect = CGRectMake(100, 100, 100, 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
QEventLoop wait;
|
QEventLoop wait;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue