diff options
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index d6c00c870..aa9cf3d75 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -1760,6 +1760,11 @@ int QMLManager::getDetectedProductIndex(const QString ¤tVendorText) return m_device_data->getDetectedProductIndex(currentVendorText); } +int QMLManager::getConnectionIndex(const QString &deviceSubstr) +{ + return connectionListModel.indexOf(deviceSubstr); +} + void QMLManager::showDownloadPage(QString deviceString) { // we pass the indices for the three combo boxes for vendor, product, and connection |