Bug Fixes in KDE Base
Fix crash when no model has been set (yet)
In the case a view is shown before its model has been set,
QAbstractItemView internally uses an "empty" model. Instead of
connecting to the empty model, we check for the null pointer.