Commit e5ebfa67 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt, remove unnecessary headers

setHeaderHidden() was introduced in 4.4
parent 85316077
......@@ -35,7 +35,6 @@
#include <QScrollArea>
#include <QVBoxLayout>
#include <QGridLayout>
#include <QHeaderView>
#include "components/complete_preferences.hpp"
#include "components/preferences_widgets.hpp"
......
......@@ -338,7 +338,7 @@ ExtraMetaPanel::ExtraMetaPanel( QWidget *parent,
extraMetaTree->setAlternatingRowColors( true );
extraMetaTree->setColumnCount( 2 );
extraMetaTree->resizeColumnToContents( 0 );
extraMetaTree->header()->hide();
extraMetaTree->setHeaderHidden( true );
layout->addWidget( extraMetaTree, 1, 0 );
}
......@@ -485,7 +485,7 @@ InputStatsPanel::InputStatsPanel( QWidget *parent,
StatsTree = new QTreeWidget(this);
StatsTree->setColumnCount( 3 );
StatsTree->header()->hide();
StatsTree->setHeaderHidden( true );
#define CREATE_TREE_ITEM( itemName, itemText, itemValue, unit ) { \
itemName = \
......
......@@ -887,7 +887,6 @@ void SPrefsPanel::changeStyle( QString s_style )
#ifdef WIN32
#include <QDialogButtonBox>
#include <QHeaderView>
#include "util/registry.hpp"
#include <string>
......
......@@ -50,7 +50,6 @@
#include <QDateTimeEdit>
#include <QDateTime>
#include <QSpinBox>
#include <QHeaderView>
#include <QScrollArea>
#include <QFileDialog>
......
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