diff options
| author | Tannin <devnull@localhost> | 2015-04-08 18:54:09 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-04-08 18:54:09 +0200 |
| commit | 9eb1a303a7b750f69e1cf0cdf7518e09d6b62c2d (patch) | |
| tree | b48dd12c100614aca3b942b79ea5eb00b394af9a /src/modlistsortproxy.cpp | |
| parent | a44c4bbdb2b99759b4d36687153465df51cc9cf9 (diff) | |
cosmetic changes and increased version number
Diffstat (limited to 'src/modlistsortproxy.cpp')
| -rw-r--r-- | src/modlistsortproxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlistsortproxy.cpp b/src/modlistsortproxy.cpp index d649996f..b40b4144 100644 --- a/src/modlistsortproxy.cpp +++ b/src/modlistsortproxy.cpp @@ -338,7 +338,7 @@ bool ModListSortProxy::filterAcceptsRow(int row, const QModelIndex &parent) cons qDebug("invalid index");
return false;
}
- if (idx.isValid() && sourceModel()->hasChildren(idx)) {
+ if (sourceModel()->hasChildren(idx)) {
for (int i = 0; i < sourceModel()->rowCount(idx); ++i) {
if (filterAcceptsRow(i, idx)) {
return true;
|
