summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrs Wolfer <[email protected]>2015-03-14 12:26:12 +0100
committerUrs Wolfer <[email protected]>2015-03-14 12:26:12 +0100
commit350c266e7c5b8ab3d0788aafae8e45983876e56b (patch)
treea4bbcf048328a8576bfec2ce838398281e4e9187
parent396b116b4659e0942ddc5de21b8a4f3fd29d7651 (diff)
Fix resizing of columns in main window
- based on a patch by Luca Sartorelli <dj3mb3 gmail.com> BUG: 339392 REVIEW: 122826
-rw-r--r--mainwindow.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index acc89ae..5e76463 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -1126,7 +1126,6 @@ QWidget* MainWindow::newConnectionWidget()
m_newConnectionTableView->verticalHeader()->setDefaultSectionSize(
m_newConnectionTableView->fontMetrics().height() + 3);
m_newConnectionTableView->horizontalHeader()->setStretchLastSection(true);
- m_newConnectionTableView->horizontalHeader()->setResizeMode(QHeaderView::ResizeToContents);
m_newConnectionTableView->resizeColumnsToContents();
m_newConnectionTableView->setAlternatingRowColors(true);
// set up sorting and actions (double click open, right click custom menu)