Ticket #62105: patch-pointers.diff
File patch-pointers.diff, 652 bytes (added by NicosPavlov, 4 years ago) |
---|
-
kdeui/itemviews/kselectionproxymodel.cpp
diff -ur kdelibs-4.14.3-orig/kdeui/itemviews/kselectionproxymodel.cpp kdelibs-4.14.3/kdeui/itemviews/kselectionproxymodel.cpp
old new 2144 2144 if (!proxyIndex.isValid() || !sourceModel() || d->m_rootIndexList.isEmpty()) 2145 2145 return QModelIndex(); 2146 2146 2147 Q_ASSERT(proxyIndex.internalPointer() >= 0);2147 Q_ASSERT(proxyIndex.internalPointer() != NULL); 2148 2148 Q_ASSERT(proxyIndex.model() == this); 2149 2149 2150 2150 if (proxyIndex.internalPointer() == 0)