Commit ee4bf72e authored by Harriet Brown's avatar Harriet Brown
Browse files

Revert "remove cpp check"

This reverts commit 2e66acdf.
parent 2e66acdf
......@@ -852,7 +852,11 @@ void IndirectDataAnalysisElwinTab::setHorizontalHeaders(const QStringList &heade
m_dataTable->setHorizontalHeaderLabels(headers);
auto header = m_dataTable->horizontalHeader();
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
header->setResizeMode(0, QHeaderView::Stretch);
#elif QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
header->setSectionResizeMode(0, QHeaderView::Stretch);
#endif
}
void IndirectDataAnalysisElwinTab::removeSelectedData() {
......
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