Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 26ce84ef authored by Boudewijn Rempt's avatar Boudewijn Rempt

Avoid asserting on setting picking a filter

We never used to come across this because pretty much everyone uses
a Qt with asserts disabled, I think.

Fixes T1095
parent 745626a0
......@@ -96,7 +96,9 @@ public:
void setModel(QAbstractItemModel *model)
header()->setResizeMode(0, QHeaderView::ResizeToContents);
if (header()->visualIndex(0) != -1) {
header()->setSectionResizeMode(0, QHeaderView::ResizeToContents);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment