Commit 2e66acdf authored by Harriet Brown's avatar Harriet Brown
Browse files

remove cpp check

This commit removes a qt version check that was causing a cppcheck failure. this is only needed because an additional cppcheck error was introduced in a different PR and has put things over the limit.
parent 6dc93a07
......@@ -852,11 +852,7 @@ 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