summaryrefslogtreecommitdiffstats
path: root/src/gui/historyform.cpp
diff options
context:
space:
mode:
authorFrédéric Brière <fbriere@fbriere.net>2018-02-10 22:45:45 -0500
committerFrédéric Brière <fbriere@fbriere.net>2018-02-10 22:47:13 -0500
commitcb598d5cccc2a0f01700bb897ffe1377ba26e94f (patch)
treef43030ad05fe42387b5d9050e495a35bf4aff03d /src/gui/historyform.cpp
parent93a9684d70fac2d1d63b812b5102d3b805865572 (diff)
downloadtwinkle-cb598d5cccc2a0f01700bb897ffe1377ba26e94f.tar
twinkle-cb598d5cccc2a0f01700bb897ffe1377ba26e94f.tar.gz
twinkle-cb598d5cccc2a0f01700bb897ffe1377ba26e94f.tar.lz
twinkle-cb598d5cccc2a0f01700bb897ffe1377ba26e94f.tar.xz
twinkle-cb598d5cccc2a0f01700bb897ffe1377ba26e94f.zip
Remove remaining bits of Qt 4 code
Diffstat (limited to 'src/gui/historyform.cpp')
-rw-r--r--src/gui/historyform.cpp4
1 files changed, 0 insertions, 4 deletions
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)));