diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 570ab0c67..8973aef43 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -144,7 +144,8 @@ QMLManager::QMLManager() : m_locationServiceEnabled(false), m_updateSelectedDive(-1), m_selectedDiveTimestamp(0), alreadySaving(false), - m_pluggedInDeviceName("") + m_pluggedInDeviceName(""), + m_showNonDiveComputers(false) { LOG_STP("qmlmgr starting"); m_instance = this; @@ -1979,6 +1980,12 @@ void QMLManager::setFilter(const QString filterText) }); } +void QMLManager::setShowNonDiveComputers(bool show) +{ + m_showNonDiveComputers = show; + BTDiscovery::instance()->showNonDiveComputers(show); +} + #if defined(Q_OS_ANDROID) // implemented in core/android.cpp void checkPendingIntents(); |