svnno****@sourc*****
svnno****@sourc*****
2009年 9月 26日 (土) 23:32:44 JST
Revision: 2556 http://sourceforge.jp/projects/kita/svn/view?view=rev&revision=2556 Author: nogu Date: 2009-09-26 23:32:44 +0900 (Sat, 26 Sep 2009) Log Message: ----------- M kita/src/threadlistview.cpp M kita/src/boardview.cpp fix a bug in selection Modified Paths: -------------- kita/branches/KITA-KDE4/kita/src/boardview.cpp kita/branches/KITA-KDE4/kita/src/threadlistview.cpp Modified: kita/branches/KITA-KDE4/kita/src/boardview.cpp =================================================================== --- kita/branches/KITA-KDE4/kita/src/boardview.cpp 2009-08-11 21:29:06 UTC (rev 2555) +++ kita/branches/KITA-KDE4/kita/src/boardview.cpp 2009-09-26 14:32:44 UTC (rev 2556) @@ -164,9 +164,6 @@ break; } - subjectList->setRangeSelected( - QTableWidgetSelectionRange(0, 0, 0, subjectList->columnCount()), - true); subjectList->setFocus(); updateKindLabel(); Modified: kita/branches/KITA-KDE4/kita/src/threadlistview.cpp =================================================================== --- kita/branches/KITA-KDE4/kita/src/threadlistview.cpp 2009-08-11 21:29:06 UTC (rev 2555) +++ kita/branches/KITA-KDE4/kita/src/threadlistview.cpp 2009-09-26 14:32:44 UTC (rev 2556) @@ -57,6 +57,8 @@ } } subjectList->setHorizontalHeaderLabels(labels); + subjectList->setSelectionBehavior(QAbstractItemView::SelectRows); + subjectList->setSelectionMode(QAbstractItemView::SingleSelection); connect(searchCombo, SIGNAL(activated(int)), SLOT(slotSearchButton()));