summaryrefslogtreecommitdiffstats
path: root/src/tabwidget.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-14 21:55:21 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-14 21:55:21 +0200
commite03731b27eed5830544609391372482066af5267 (patch)
tree298cffd94c2838e839acef2c56e81eb4c5499a1c /src/tabwidget.cpp
parentec8fde9b34aec386712343c829a121a21bc38b0a (diff)
downloadklamav-e03731b27eed5830544609391372482066af5267.tar.gz
klamav-e03731b27eed5830544609391372482066af5267.zip
TabWidget: Enable tab reordering by pressing middle mouse button
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r--src/tabwidget.cpp2
1 files changed, 1 insertions, 1 deletions
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*)));