mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-16 19:03:25 +01:00
cas
This commit is contained in:
parent
54c8b6a3c2
commit
233832f496
@ -12,6 +12,11 @@ MessagesView::MessagesView(QWidget *parent) : QTreeView(parent) {
|
|||||||
|
|
||||||
setModel(m_proxyModel);
|
setModel(m_proxyModel);
|
||||||
|
|
||||||
|
// FIXME: Sometimes ASSERT occurs if model provides less columns
|
||||||
|
// than we set resize mode for.
|
||||||
|
qDebug("Loading MessagesView with %d columns.",
|
||||||
|
header()->count());
|
||||||
|
|
||||||
#if QT_VERSION >= 0x050000
|
#if QT_VERSION >= 0x050000
|
||||||
// Setup column resize strategies.
|
// Setup column resize strategies.
|
||||||
header()->setSectionResizeMode(MSG_DB_ID_INDEX, QHeaderView::Interactive);
|
header()->setSectionResizeMode(MSG_DB_ID_INDEX, QHeaderView::Interactive);
|
||||||
|
Loading…
Reference in New Issue
Block a user