Commit 9d0cc752 authored by Milian Wolff's avatar Milian Wolff

Make compile with strict iterators

parent ce5999d5
......@@ -784,9 +784,9 @@ bool EBook_CHM::getInfoFromSystem()
QString EBook_CHM::getTopicByUrl( const QUrl& url )
{
QMap< QUrl, QString >::const_iterator it = m_url2topics.find( url );
QMap< QUrl, QString >::const_iterator it = m_url2topics.constFind( url );
if ( it == m_url2topics.end() )
if ( it == m_url2topics.constEnd() )
return QString::null;
return it.value();
......
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