Commit 884350d8 authored by Christophe Devriese's avatar Christophe Devriese

forgot about this little pointer check ...

svn path=/trunk/kdegraphics/kpdf/; revision=275964
parent e0ec78c3
......@@ -81,7 +81,7 @@ Shell::~Shell()
void Shell::openURL( const KURL & url )
{
if ( m_part->openURL( url ) ) recent->addURL (url);
if ( m_part && m_part->openURL( url ) ) recent->addURL (url);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment