Show the terms in the wordfinder in RTL if it's needed (patch by dmdmdm)

This commit is contained in:
Konstantin Isakov 2009-12-27 15:08:11 +03:00
parent 1094b44d8b
commit 2d9244c311

View file

@ -984,6 +984,10 @@ void MainWindow::updateMatchResults( bool finished )
i->setFont( f );
}
}
if (i->text().at(0).direction() == QChar::DirR)
i->setTextAlignment(Qt::AlignRight);
if (i->text().at(0).direction() == QChar::DirL)
i->setTextAlignment(Qt::AlignLeft);
}
while ( ui.wordList->count() > (int) results.size() )