[vlmc-devel] check for qt4 removed

Sanket Markan git at videolan.org
Fri Mar 11 14:33:47 CET 2016


vlmc | branch: master | Sanket Markan <sanketmarkan at gmail.com> | Fri Mar 11 18:43:27 2016 +0530| [3972e8ffaf0c9b53ded2c1850ea29506138b4a42] | committer: Hugo Beauzée-Luyssen

check for qt4 removed

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> https://code.videolan.org/videolan/vlmc/commit/3972e8ffaf0c9b53ded2c1850ea29506138b4a42
---

 src/Gui/import/ImportController.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/Gui/import/ImportController.cpp b/src/Gui/import/ImportController.cpp
index 6c7857e..570f42c 100644
--- a/src/Gui/import/ImportController.cpp
+++ b/src/Gui/import/ImportController.cpp
@@ -83,11 +83,7 @@ ImportController::ImportController(QWidget *parent) :
     m_ui->treeView->setCurrentIndex( m_filesModel->index( m_currentlyWatchedDir ) );
     m_ui->treeView->setExpanded( m_ui->treeView->currentIndex() , true );
     m_ui->treeView->header()->setStretchLastSection( false );
-#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
     m_ui->treeView->header()->setSectionResizeMode( QHeaderView::ResizeToContents );
-#else
-    m_ui->treeView->header()->setResizeMode( QHeaderView::ResizeToContents );
-#endif
     m_ui->treeView->setColumnHidden( 1, true );
     m_ui->treeView->setColumnHidden( 2, true );
     m_ui->treeView->setColumnHidden( 3, true );



More information about the Vlmc-devel mailing list