----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/110762/ -----------------------------------------------------------
(Updated June 5, 2013, 3:12 p.m.) Status ------ This change has been marked as submitted. Review request for Nepomuk. Description ------- If creating a backend fails then 'backend' is NULL. An error is printed but initialization continues. With this patch 'virtuosoModel' is set to NULL if 'backend' is NULL instead of trying to dereference the NULL pointer. A NULL 'virtuosoModel' is valid: model() creates a dummy model in this case. Diffs ----- libnepomukcore/resource/nepomukmainmodel.cpp a7c4dfd Diff: http://git.reviewboard.kde.org/r/110762/diff/ Testing ------- nepomukshell and others don't crash any more. I just get lots of "Could not find virtuoso backend" errors. Thanks, Michael Olbrich
_______________________________________________ Nepomuk mailing list [email protected] https://mail.kde.org/mailman/listinfo/nepomuk
