mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 15:35:49 -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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue