Compiler warning in khtml_part.cpp

David Faure faure at kde.org
Fri Oct 24 18:55:49 BST 2008


On Friday 24 October 2008, Christian Ehrlicher wrote:
> Hi,
> 
> line 5739 in khtml_part.cpp looks strange to me (and gcc complains):
> 
> if ( (*childFrame)->m_part )
> {
>    if ( (*childFrame)->m_extension )
>    if ( (*childFrame)->m_extension && !(*fBufferIt).isEmpty() )
>    {
>      QDataStream frameStream( *fBufferIt );
>      (*childFrame)->m_extension->restoreState( frameStream );
>    }
>    else
>      (*childFrame)->m_part->openUrl( *fURLIt );
> }
> 
> There's no indentation so I don't know what to do here.

Obviously a copy/paste or merging error - remove the line that says:
    if ( (*childFrame)->m_extension )

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list