Changeset 0a0c93e in subsurface for mobile-widgets/qmlmanager.cpp


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

QML UI: add variable for libdc logfile

It seemed cleanest and easiest to have this in the QMLManager and
not in the DCDownload object.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qmlmanager.cpp

    rc59a740 r0a0c93e  
    8686        m_credentialStatus(UNKNOWN),
    8787        alreadySaving(false),
    88         m_device_data(new DCDeviceData(this))
     88        m_device_data(new DCDeviceData(this)),
     89        m_libdcLog(false)
    8990{
    9091        m_instance = this;
     
    15451546}
    15461547
     1548bool QMLManager::libdcLog() const
     1549{
     1550        return m_libdcLog;
     1551}
     1552
     1553void QMLManager::setLibdcLog(bool value)
     1554{
     1555        m_libdcLog = value;
     1556        emit libdcLogChanged();
     1557}
     1558
    15471559#if defined (Q_OS_ANDROID)
    15481560
Note: See TracChangeset for help on using the changeset viewer.