Changeset 7b922a1 in subsurface


Ignore:
Timestamp:
Jul 9, 2017, 6:23:16 PM (5 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
6422932
Parents:
dbb5826
Message:

QML UI: actually write libdc logfile

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qmlmanager.cpp

    r0a0c93e r7b922a1  
    9393        connect(qobject_cast<QApplication *>(QApplication::instance()), &QApplication::applicationStateChanged, this, &QMLManager::applicationStateChanged);
    9494
     95        QString libdcLogFileName = QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation).first() + "/libdivecomputer.log";
     96        logfile_name = strdup(libdcLogFileName.toUtf8().data());
    9597#if defined(Q_OS_ANDROID)
    9698        appLogFileName = QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation).first() + "/subsurface.log";
     
    15541556{
    15551557        m_libdcLog = value;
     1558        DCDeviceData::instance()->setSaveLog(value);
    15561559        emit libdcLogChanged();
    15571560}
Note: See TracChangeset for help on using the changeset viewer.