Logo Search packages:      
Sourcecode: kanagram version File versions  Download package

void KanagramGame::updateIndex (  ) [private]

find the current file in the list of files available

Definition at line 117 of file kanagramgame.cpp.

References m_fileList, m_filename, and m_index.

{
    m_index = 0;
    for (int i = 0; i < m_fileList.size(); i++)
    {
        if (m_filename == m_fileList[i])
        {
            m_index = i;
        }
    }
}

Generated by  Doxygen 1.6.0   Back to index