From e03731b27eed5830544609391372482066af5267 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 14 Jan 2021 21:55:21 +0200 Subject: TabWidget: Enable tab reordering by pressing middle mouse button Signed-off-by: Mavridis Philippe --- src/tabwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp index 92bd8aa..e1c079f 100644 --- a/src/tabwidget.cpp +++ b/src/tabwidget.cpp @@ -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*))); -- cgit v1.2.1