From f24749bbf8718d1101a1d177878c81e5f4e6697f Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 17 Nov 2009 09:07:37 +0000 Subject: [PATCH] - Fix column hidding code --- src/TransferListWidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TransferListWidget.cpp b/src/TransferListWidget.cpp index 61f42ac34..6783406f1 100644 --- a/src/TransferListWidget.cpp +++ b/src/TransferListWidget.cpp @@ -113,6 +113,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, bittorrent *_BTSession): // Listen for list events connect(this, SIGNAL(doubleClicked(QModelIndex)), this, SLOT(torrentDoubleClicked(QModelIndex))); connect(this, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(displayListMenu(const QPoint&))); + header()->setContextMenuPolicy(Qt::CustomContextMenu); connect(header(), SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(displayDLHoSMenu(const QPoint&))); // Refresh timer