From cb598d5cccc2a0f01700bb897ffe1377ba26e94f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= Date: Sat, 10 Feb 2018 22:45:45 -0500 Subject: Remove remaining bits of Qt 4 code --- src/gui/historyform.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/gui/historyform.cpp') diff --git a/src/gui/historyform.cpp b/src/gui/historyform.cpp index 2281840..efa702a 100644 --- a/src/gui/historyform.cpp +++ b/src/gui/historyform.cpp @@ -78,11 +78,7 @@ void HistoryForm::init() m_model->setHorizontalHeaderLabels(QStringList() << tr("Time") << tr("In/Out") << tr("From/To") << tr("Subject") << tr("Status")); historyListView->horizontalHeader()->setSortIndicator(HISTCOL_TIMESTAMP, Qt::DescendingOrder); -#if QT_VERSION >= 0x050000 historyListView->horizontalHeader()->setSectionResizeMode(QHeaderView::ResizeToContents); -#else - historyListView->horizontalHeader()->setResizeMode(QHeaderView::ResizeToContents); -#endif connect(historyListView->selectionModel(), SIGNAL(currentChanged(QModelIndex, QModelIndex)), SLOT(showCallDetails(QModelIndex))); -- cgit v1.2.3