TabWidget: Enable tab reordering by pressing middle mouse button

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/24/head
Mavridis Philippe 4 years ago
parent ec8fde9b34
commit e03731b27e
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -22,7 +22,7 @@ using namespace KlamAV;
TabWidget::TabWidget(TQWidget * parent, const char *name)
:KTabWidget(parent, name), m_CurrentMaxLength(30)
{
setTabReorderingEnabled(false);
setTabReorderingEnabled(true);
connect( this, SIGNAL( currentChanged(TQWidget *) ), this,
SLOT( slotTabChanged(TQWidget *) ) );
connect(this, SIGNAL(closeRequest(TQWidget*)), this, SLOT(slotCloseRequest(TQWidget*)));

Loading…
Cancel
Save