Fix dots showing up in second column of the widget.

Since we use a two column model/treeview we need to prevent returning
some text data, otherwise we will see dots in the secound column. We also
need to emit pagesChanged once we init the model.
This commit is contained in:
kh1
2010-03-29 17:27:04 +02:00
parent c71e1dd77c
commit 0cf2bc3b43
4 changed files with 13 additions and 8 deletions

View File

@@ -98,7 +98,7 @@ OpenPagesWidget::OpenPagesWidget(OpenPagesModel *model)
header()->setStretchLastSection(false);
header()->setResizeMode(0, QHeaderView::Stretch);
header()->setResizeMode(1, QHeaderView::Fixed);
header()->resizeSection(1, 16);
header()->resizeSection(1, 18);
installEventFilter(this);
setUniformRowHeights(true);