mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
6dff335515
commit
fbc521cbc5
@ -63,6 +63,7 @@ GxsIdChooser::GxsIdChooser(QWidget *parent)
|
|||||||
/* Enable sort with own role */
|
/* Enable sort with own role */
|
||||||
QSortFilterProxyModel *proxy = new QSortFilterProxyModel(this);
|
QSortFilterProxyModel *proxy = new QSortFilterProxyModel(this);
|
||||||
proxy->setSourceModel(model());
|
proxy->setSourceModel(model());
|
||||||
|
proxy->setDynamicSortFilter(false);
|
||||||
model()->setParent(proxy);
|
model()->setParent(proxy);
|
||||||
setModel(proxy);
|
setModel(proxy);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user