qt/EditWindow.cpp
/*
========================
maybeSave

 returns true, if the caller should continue.
========================
*/
maybeSave
returns true, if the caller should continue.
maybeSave returns true if the caller should continue .
bool GLSLMdiEditWindow::maybeSave( void )
{
    for( int i = 0 ; i < MAX_SHADER_TYPES; i++ )
    {
        if( m_editors[ i ] != NULL &&
            !m_editors[ i ]->maybeSave() )
        {
            return false;
        }
    }
    return true;
}
bool GLSLMdiEditWindow :: maybeSave ( void ) { for ( int i = 0 ; i < MAX_SHADER_TYPES ; i ++ ) { if ( m_editors [ i ] != NULL && ! m_editors [ i ] -> maybeSave ( ) ) { return false ; } } return true ; }
maybeSave
returns true, if the caller should continue.
maybeSave returns true if the caller should continue .
// loop through all sources