From 0df43252bef7d6aa8733de0c4c3ab8698636dc8e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 13 Apr 2018 16:53:51 -0700 Subject: iOS: log messages So far we only wrote messages to subsurface.log on Android (since we couldn't figure out how to make that file user accessible on iOS). Now that that's fixed, we also need to actually write to the file in the first place. Signed-off-by: Dirk Hohndel --- mobile-widgets/qmlmanager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mobile-widgets/qmlmanager.h') diff --git a/mobile-widgets/qmlmanager.h b/mobile-widgets/qmlmanager.h index 01c56cae4..dd3d48dff 100644 --- a/mobile-widgets/qmlmanager.h +++ b/mobile-widgets/qmlmanager.h @@ -143,7 +143,7 @@ public: Q_INVOKABLE void setStatusbarColor(QColor color); void btHostModeChange(QBluetoothLocalDevice::HostMode state); -#if defined(Q_OS_ANDROID) +#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS) void writeToAppLogFile(QString logText); #endif -- cgit v1.2.3-70-g09d2