Revision: 6369
Author: nogu.dev
Date: Thu May 6 06:16:43 2010
Log: * qt4/switcher/qt4.cpp
- (UimImSwitcher::parseHelperStrImList): Adjust height of row.
http://code.google.com/p/uim/source/detail?r=6369
Modified:
/trunk/qt4/switcher/qt4.cpp
=======================================
--- /trunk/qt4/switcher/qt4.cpp Thu May 6 04:40:56 2010
+++ /trunk/qt4/switcher/qt4.cpp Thu May 6 06:16:43 2010
@@ -301,6 +301,9 @@
&& iminfoList[ 3 ] == QLatin1String( "selected" ) )
for ( int j = 0; j < listview->columnCount(); j++ )
listview->item( row, j )->setSelected( true );
+
+ listview->setRowHeight(
+ row, QFontMetrics( listview->font() ).height() + 2 );
}
}
listview->sortItems( 0 );