rem: if ( url.protocol() == "kmail" ) { if ( url.path() == "showHTML" ) { if ( w ) { w->setHtmlOverride( !w->htmlOverride() ); w->update( true ); }
add: if ( url.protocol() == "kmail" ) { if ( !w ) return false;  if ( url.path() == "showHTML" ) { w->setHtmlOverride( !w->htmlOverride() ); w->update( true ); return true; }  if ( url.path() == "loadExternal" ) { w->setHtmlLoadExtOverride( !w->htmlLoadExtOverride() ); w->update( true );
context:   bool ShowHtmlSwitchURLHandler::handleClick( const KURL & url, KMReaderWin * w ) const {    if ( url.protocol() == "kmail" )	{	  if ( url.path() == "showHTML" )	  {	    if ( w ) {            w->setHtmlOverride( !w->htmlOverride() );            w->update( true );        }        return true;      }//       if ( url.path() == "startIMApp" )//       {//         kmkernel->imProxy()->startPreferredApp();//         return true;//       }//       //FIXME: handle startIMApp urls in their own handler, or rename this one    }    return false;  }