1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 21:14:33 +00:00

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.
This commit is contained in:
Gabriele 2014-10-15 15:35:54 +02:00
parent d27bff4df4
commit fc02b11f65

View File

@ -111,6 +111,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window,
#if defined(Q_OS_MAC)
setAttribute(Qt::WA_MacShowFocusRect, false);
#endif
header()->setStretchLastSection(false);
// Default hidden columns
if (!column_loaded) {