diff options
Diffstat (limited to 'voice/voiceagentmodel.cpp')
-rw-r--r-- | voice/voiceagentmodel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/voice/voiceagentmodel.cpp b/voice/voiceagentmodel.cpp index 3f4f50d..90ddf01 100644 --- a/voice/voiceagentmodel.cpp +++ b/voice/voiceagentmodel.cpp @@ -52,6 +52,8 @@ QVariant VoiceAgentModel::data(const QModelIndex &index, int role) const return readLoginParams(index); case ActiveRole: return vap->isactive()? "active" : "inactive"; + case VendorRole: + return vap->vendor(); } return ret; } @@ -216,5 +218,6 @@ QHash<int, QByteArray> VoiceAgentModel::roleNames() const roles[DialogStateRole] = "dialogstate"; roles[LoginParamsRole] = "usrauth"; roles[ActiveRole] = "active"; + roles[VendorRole] = "vendor"; return roles; } |