mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fix sorting crashing with qt5 in shared files of friends rev2
This commit is contained in:
parent
1757a7b7e1
commit
ee23c42db8
@ -183,6 +183,7 @@ SharedFilesDialog::SharedFilesDialog(RetroshareDirModel *_tree_model,RetroshareD
|
||||
|
||||
// Mr.Alice: I removed this because it causes a crash for some obscur reason. Apparently when the model is changed, the proxy model cannot
|
||||
// deal with the change by itself. Should I call something specific? I've no idea. Removing this does not seem to cause any harm either.
|
||||
//set false because by default in qt5 is true and makes rs crash when sorting
|
||||
tree_proxyModel->setDynamicSortFilter(false);
|
||||
flat_proxyModel->setDynamicSortFilter(false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user