summaryrefslogtreecommitdiffstats
path: root/voice/voiceagentregistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'voice/voiceagentregistry.cpp')
-rw-r--r--voice/voiceagentregistry.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/voice/voiceagentregistry.cpp b/voice/voiceagentregistry.cpp
index 62e8cd6..00eed87 100644
--- a/voice/voiceagentregistry.cpp
+++ b/voice/voiceagentregistry.cpp
@@ -29,12 +29,6 @@ VoiceAgentRegistry::VoiceAgentRegistry(Voice *voice, QQmlContext *context, QObje
vc(voice)
{
m_model = new VoiceAgentModel();
- QSortFilterProxyModel *model = new QSortFilterProxyModel();
- model->setSourceModel(m_model);
- model->setSortRole(VoiceAgentModel::VoiceAgentRoles::IdRole);
- model->setSortCaseSensitivity(Qt::CaseInsensitive);
- model->sort(0);
-
context->setContextProperty("VoiceAgentModel", m_model);
context->setContextProperty("VoiceAgent", this);
}