Changeset c9c9a839 in subsurface


Ignore:
Timestamp:
Jul 6, 2017, 9:34:37 AM (2 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
4834f51
Parents:
ce21c2a
git-author:
Dirk Hohndel <dirk@…> (07/06/17 06:34:16)
git-committer:
Dirk Hohndel <dirk@…> (07/06/17 09:34:37)
Message:

QML UI: start BT discovery a tiny bit later

This way the AppLog? starts with the name and version of Subsurface-mobile.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mobile-widgets/qmlmanager.cpp

    r206df22 rc9c9a839  
    7979        m_device_data(new DCDeviceData(this))
    8080{
    81 #if defined(BT_SUPPORT)
    82         // ensure that we start the BTDiscovery - this should be triggered by the export of the class
    83         // to QML, but that doesn't seem to always work
    84         BTDiscovery *btDiscovery = BTDiscovery::instance();
    85 #endif
    8681        m_instance = this;
    8782        m_lastDevicePixelRatio = qApp->devicePixelRatio();
     
    9085        appendTextToLog(QStringLiteral("build with Qt Version %1, runtime from Qt Version %2").arg(QT_VERSION_STR).arg(qVersion()));
    9186        setStartPageText(tr("Starting..."));
     87
     88#if defined(BT_SUPPORT)
     89        // ensure that we start the BTDiscovery - this should be triggered by the export of the class
     90        // to QML, but that doesn't seem to always work
     91        BTDiscovery *btDiscovery = BTDiscovery::instance();
     92#endif
    9293        setShowPin(false);
    9394        // create location manager service
Note: See TracChangeset for help on using the changeset viewer.