[Marble-commits] KDE/kdeedu/marble/src/lib
Dennis Nienhüser
earthwings at gentoo.org
Fri Jan 8 22:20:15 CET 2010
SVN commit 1071828 by nienhueser:
Fix crash when model is null.
M +1 -1 AbstractDataPlugin.cpp
--- trunk/KDE/kdeedu/marble/src/lib/AbstractDataPlugin.cpp #1071827:1071828
@@ -145,7 +145,7 @@
QList<AbstractDataPluginItem *> AbstractDataPlugin::whichItemAt( const QPoint& curpos )
{
- if ( enabled() && visible() ) {
+ if ( d->m_model && enabled() && visible()) {
return d->m_model->whichItemAt( curpos );
}
else {
More information about the Marble-commits
mailing list