diff options
author | Mavridis Philippe <[email protected]> | 2021-01-14 21:55:21 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2021-01-14 21:55:21 +0200 |
commit | e03731b27eed5830544609391372482066af5267 (patch) | |
tree | 298cffd94c2838e839acef2c56e81eb4c5499a1c /src/tabwidget.cpp | |
parent | ec8fde9b34aec386712343c829a121a21bc38b0a (diff) | |
download | klamav-e03731b27eed5830544609391372482066af5267.tar.gz klamav-e03731b27eed5830544609391372482066af5267.zip |
TabWidget: Enable tab reordering by pressing middle mouse button
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r-- | src/tabwidget.cpp | 2 |
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*))); |