From f7f1c81238e4d19881e42c325c4f024a15d01463 Mon Sep 17 00:00:00 2001 From: Gabriele Date: Wed, 15 Oct 2014 15:35:54 +0200 Subject: [PATCH] Don't stretch the last section in the transfer list Since the content of some sections is right aligned, automatically resizing the width of the last one to fill the header could be sometimes undesired. Let the user choose the width of each section and never change his preference. --- src/transferlistwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/transferlistwidget.cpp b/src/transferlistwidget.cpp index 56981bb12..ad4fbb537 100644 --- a/src/transferlistwidget.cpp +++ b/src/transferlistwidget.cpp @@ -112,6 +112,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window, #if defined(Q_WS_MAC) setAttribute(Qt::WA_MacShowFocusRect, false); #endif + header()->setStretchLastSection(false); // Default hidden columns if (!column_loaded) {