From 66137537276e401adc9f49bcb2910790c85180e9 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Fri, 22 Nov 2013 13:56:43 +0000 Subject: Make chat tabs reorderable. I had no idea this was available in Qt now - and it's been there since 4.5! Change-Id: I537e2e81947e1741bab61d38d0484f10229a6808 diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp index de1ee7c..cf335e1 100644 --- a/Swift/QtUI/QtChatTabs.cpp +++ b/Swift/QtUI/QtChatTabs.cpp @@ -37,6 +37,7 @@ QtChatTabs::QtChatTabs(bool singleWindow) : QWidget(), singleWindow_(singleWindo tabs_->setDocumentMode(true); /*Closable tabs are only in Qt4.5 and later*/ tabs_->setTabsClosable(true); + tabs_->setMovable(true); connect(tabs_, SIGNAL(tabCloseRequested(int)), this, SLOT(handleTabCloseRequested(int))); #else #warning Qt 4.5 or later is needed. Trying anyway, some things will be disabled. -- cgit v0.10.2-6-g49f6