From 22ca84d4d22ed7e39c626981e5ae85e9287c3edb Mon Sep 17 00:00:00 2001 From: wodim Date: Thu, 7 Apr 2016 13:00:54 +0200 Subject: Remove all ifdefs related to older versions of Qt. Now that we only support Qt 5 we will no longer need these. --- src/modules/filetransferwindow/FileTransferWindow.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/modules/filetransferwindow') diff --git a/src/modules/filetransferwindow/FileTransferWindow.cpp b/src/modules/filetransferwindow/FileTransferWindow.cpp index bd1edbba9..255c9baf4 100644 --- a/src/modules/filetransferwindow/FileTransferWindow.cpp +++ b/src/modules/filetransferwindow/FileTransferWindow.cpp @@ -141,13 +141,8 @@ FileTransferWidget::FileTransferWidget(QWidget * pParent) setHorizontalHeaderLabels(colHeaders); //default column widths setColumnWidth(0, FILETRANSFERW_CELLSIZE); -#if (QT_VERSION >= 0x050000) horizontalHeader()->setSectionResizeMode(0, QHeaderView::Fixed); horizontalHeader()->setSectionResizeMode(1, QHeaderView::Interactive); -#else - horizontalHeader()->setResizeMode(0, QHeaderView::Fixed); - horizontalHeader()->setResizeMode(1, QHeaderView::Interactive); -#endif setColumnWidth(1, 500); horizontalHeader()->setStretchLastSection(true); //focus policy -- cgit v1.3.1-10-gc9f91