diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-21 07:57:20 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-06-21 07:57:52 +0200 |
commit | 69954149a432f7a77f2613e348a2089bf5bb2012 (patch) | |
tree | 4eead7d79305cf758d3d97697d75e722258671d5 | |
parent | 1ef92b9d681e614d65b0ca0a2abdfd81a943e778 (diff) | |
download | sink-69954149a432f7a77f2613e348a2089bf5bb2012.tar.gz sink-69954149a432f7a77f2613e348a2089bf5bb2012.zip |
We can run into this on empty models
-rw-r--r-- | common/modelresult.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/modelresult.cpp b/common/modelresult.cpp index b12216b..58703ab 100644 --- a/common/modelresult.cpp +++ b/common/modelresult.cpp | |||
@@ -224,7 +224,6 @@ QModelIndex ModelResult<T, Ptr>::index(int row, int column, const QModelIndex &p | |||
224 | return createIndex(row, column, childId); | 224 | return createIndex(row, column, childId); |
225 | } | 225 | } |
226 | SinkWarningCtx(mLogCtx) << "Index not available " << row << column << parent; | 226 | SinkWarningCtx(mLogCtx) << "Index not available " << row << column << parent; |
227 | Q_ASSERT(false); | ||
228 | return QModelIndex(); | 227 | return QModelIndex(); |
229 | } | 228 | } |
230 | 229 | ||