Skip to content
Snippets Groups Projects
Commit de7b2fd2 authored by Ilkka Ollakka's avatar Ilkka Ollakka
Browse files

Revert "Qt4: small loop change"

This reverts commit d38706da.

Changed back, as changed loop didn't do same as original did
parent e9976aca
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ void LocationBar::setIndex( const QModelIndex &index )
QModelIndex i = index;
bool first = true;
while( i.isValid() )
while( true )
{
PLItem *item = model->getItem( i );
......@@ -271,7 +271,8 @@ void LocationBar::setIndex( const QModelIndex &index )
first = false;
i = i.parent();
if( i.isValid() ) i = i.parent();
else break;
}
QString prefix;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment