projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93281c8
)
Fix assertion introduced by e1ca612c5d3087e02f6b7f8e454224e0b88e82ad
author
Hannah von Reth
<hannah.vonreth@owncloud.com>
Wed, 22 Jul 2020 19:06:09 +0000
(21:06 +0200)
committer
Kevin Ottens
<kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:59:17 +0000
(10:59 +0100)
[ fatal default ]:ASSERT: "last < rowCount(parent)" in file C:\_\
17a9f6ae
\qtbase-everywhere-src-5.12.9\src\corelib\itemmodels\qabstractitemmodel.cpp, line 2787
e1ca612c5d3087e02f6b7f8e454224e0b88e82ad
stopped adding sub folders so we can return the actual size.
src/gui/folderstatusmodel.cpp
patch
|
blob
|
history
diff --git
a/src/gui/folderstatusmodel.cpp
b/src/gui/folderstatusmodel.cpp
index 6c56ae39d989effa3e498d4f24c86d5e8524716c..5f853cd8afe825139cac8410235a549673f1b832 100644
(file)
--- a/
src/gui/folderstatusmodel.cpp
+++ b/
src/gui/folderstatusmodel.cpp
@@
-370,8
+370,6
@@
int FolderStatusModel::rowCount(const QModelIndex &parent) const
auto info = infoForIndex(parent);
if (!info)
return 0;
- if (info->_folder && !info->_folder->supportsSelectiveSync())
- return 0;
if (info->hasLabel())
return 1;
return info->_subs.count();