summaryrefslogtreecommitdiffstats
path: root/src/gui/historyform.cpp
diff options
context:
space:
mode:
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)));