| 1548 | } |
| 1549 | |
| 1550 | QVariant Settings::value(const QString & key) |
| 1551 | { |
| 1552 | DEBUG_MID_LEVEL << Q_FUNC_INFO << key; |
| 1553 | |
| 1554 | QMutexLocker locker(&m_mutex); |
| 1555 | |
| 1556 | if (m_currentProfile == NULL) |
| 1557 | { |
| 1558 | qWarning() << Q_FUNC_INFO << "m_currentProfile == NULL"; |
| 1559 | return QVariant(); |
| 1560 | } |
| 1561 | return m_currentProfile->value(key); |
| 1562 | } |
| 1563 | |
| 1564 | void Settings::initDevicesMap() |
| 1565 | { |
no outgoing calls
no test coverage detected