* Use dictionarys' own icons for TOC items.

This commit is contained in:
Konstantin Isakov 2009-04-23 16:29:54 +00:00
parent ee759622a3
commit 99c8c8642e

View file

@ -360,7 +360,7 @@ void ArticleView::contextMenuRequested( QPoint const & pos )
{ {
QAction * action = QAction * action =
new QAction( new QAction(
QIcon( ":/icons/arrow.png" ), allDictionaries[ x ]->getIcon(),
QString::fromUtf8( allDictionaries[ x ]->getName().c_str() ), QString::fromUtf8( allDictionaries[ x ]->getName().c_str() ),
&menu ); &menu );