Salome HOME
Remove QT4 compatibility.
[modules/paravis.git] / src / Plugins / MEDReader / ParaViewPlugin / VectBoolSpreadSheet.cxx
index d85fefcc55c501bab7297e9026fe28a9f7ed2b0b..8b9ce5b522f76712ef742c9eddb7aad466a2aae2 100644 (file)
@@ -217,13 +217,9 @@ void VectBoolSpreadSheet::init()
   this->verticalHeader()->setMinimumSectionSize(2);
   this->verticalHeader()->setDefaultSectionSize(2);
   this->setItemDelegate(_delegate);
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-  this->verticalHeader()->setResizeMode(QHeaderView::ResizeToContents);
-  this->horizontalHeader()->setResizeMode(QHeaderView::ResizeToContents);
-#else
   this->verticalHeader()->setSectionResizeMode(QHeaderView::ResizeToContents);
   this->horizontalHeader()->setSectionResizeMode(QHeaderView::ResizeToContents);
-#endif
+
   this->resizeColumnsToContents();
   this->resizeRowsToContents();
   //this->verticalHeader()->hide();