mobile: send logfiles as attachments on iOS as well

This was added for Android a while ago, but now this works on iOS as well which
is a very welcome addition for the recipient of these support emails (i.e. me).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2022-08-29 16:46:58 -07:00
parent 8164ca56ec
commit 87387b7e7e
3 changed files with 15 additions and 1 deletions

View file

@ -19,6 +19,8 @@
#if defined(Q_OS_ANDROID)
#include "core/serial_usb_android.h"
#elif defined(Q_OS_IOS)
#include "ios/ios-share.h"
#endif
class QAction;
@ -266,6 +268,9 @@ private:
QString appLogFileName;
QFile appLogFile;
bool appLogFileOpen;
#endif
#if defined(Q_OS_IOS)
IosShare iosshare;
#endif
qPrefCloudStorage::cloud_status m_oldStatus;