Fixes breaking the sizes of the columns of the listView.

This just proves one point: I'm retarded.
I moved some code around and forgot to close the old group, so I created a
group inside 'MainWindow' that handled the ListWidget, wich was not the
right thing to do at all.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2013-11-08 19:59:21 -02:00 committed by Dirk Hohndel
parent d84cdb655e
commit ba638cae05

View file

@ -565,7 +565,7 @@ void MainWindow::initialUiSetup()
case LIST_MAXIMIZED : on_actionViewList_triggered(); break;
case PROFILE_MAXIMIZED : on_actionViewProfile_triggered(); break;
}
settings.endGroup();
settings.beginGroup("ListWidget");
/* if no width are set, use the calculated width for each column;
* for that to work we need to temporarily expand all rows */