Fixed content of GxsIdChooser for Qt 5 by setting dynamicSortFilter to false.

Change in the default value
Qt 4 = false
Qt 5 = true

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8058 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2015-03-20 14:52:10 +00:00
parent 6dff335515
commit fbc521cbc5

View File

@ -63,6 +63,7 @@ GxsIdChooser::GxsIdChooser(QWidget *parent)
/* Enable sort with own role */
QSortFilterProxyModel *proxy = new QSortFilterProxyModel(this);
proxy->setSourceModel(model());
proxy->setDynamicSortFilter(false);
model()->setParent(proxy);
setModel(proxy);