Commit 89985c3d authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Fixed header of "locals and watchers" view

You couldn't disable the 'always adjust column widths to contents' logic
cause of an uninitialized boolean that refused to toggle to false.
parent b8f013ce
......@@ -55,7 +55,8 @@ enum { INameRole = Qt::UserRole, VisualRole, ExpandedRole };
/////////////////////////////////////////////////////////////////////
WatchWindow::WatchWindow(Type type, QWidget *parent)
: QTreeView(parent), m_type(type)
: QTreeView(parent), m_type(type)
, m_alwaysResizeColumnsToContents(true)
{
setWindowTitle(tr("Locals and Watchers"));
setAlternatingRowColors(true);
......
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