- FEATURE: Resizing a column in a search results tab affects all tabs

- FEATURE: Search results tab columns are now remembered upon startup
This commit is contained in:
Christophe Dumez 2009-03-09 21:24:40 +00:00
parent 1421f1450c
commit a2bcfa9192
6 changed files with 66 additions and 37 deletions

View file

@ -202,7 +202,7 @@ void FinishedTorrents::saveColWidthFinishedList() const{
width_list = line.split(' ');
}
for(short i=0; i<nbColumns; ++i){
if(finishedList->columnWidth(i)<1 && width_list.size() == finishedListModel->columnCount()-1 && width_list.at(i).toInt()>=1) {
if(finishedList->columnWidth(i)<1 && width_list.size() == nbColumns && width_list.at(i).toInt()>=1) {
// load the former width
new_width_list << width_list.at(i);
} else if(finishedList->columnWidth(i)>=1) {