summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-08-22 20:28:29 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-08-22 20:28:29 (GMT)
commite7089e0c45e43af5aa39f9d1e5d7582c830d3fbf (patch)
tree01765c83a0f01e3a7d3cc6c59429eab9498dec85
parent16092c084f2c41a99ed1ee22fc400a8c40fc68ee (diff)
downloadswift-swift-1.0beta6.zip
swift-swift-1.0beta6.tar.bz2
Don't skip tabs for Ctrl-PgUp/Dn on reopened chats.swift-1.0beta6
Resolves: #535
-rw-r--r--Swift/QtUI/QtChatTabs.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Swift/QtUI/QtChatTabs.cpp b/Swift/QtUI/QtChatTabs.cpp
index c14f9ad..937e5e0 100644
--- a/Swift/QtUI/QtChatTabs.cpp
+++ b/Swift/QtUI/QtChatTabs.cpp
@@ -61,14 +61,14 @@ void QtChatTabs::addTab(QtTabbable* tab) {
/* Chat windows like to grow - don't let them */
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
tabs_->addTab(tab, tab->windowTitle());
- connect(tab, SIGNAL(titleUpdated()), this, SLOT(handleTabTitleUpdated()));
- connect(tab, SIGNAL(countUpdated()), this, SLOT(handleTabTitleUpdated()));
- connect(tab, SIGNAL(windowClosing()), this, SLOT(handleTabClosing()));
- connect(tab, SIGNAL(windowOpening()), this, SLOT(handleWidgetShown()));
- connect(tab, SIGNAL(wantsToActivate()), this, SLOT(handleWantsToActivate()));
- connect(tab, SIGNAL(requestNextTab()), this, SLOT(handleRequestedNextTab()));
- connect(tab, SIGNAL(requestActiveTab()), this, SLOT(handleRequestedActiveTab()));
- connect(tab, SIGNAL(requestPreviousTab()), this, SLOT(handleRequestedPreviousTab()));
+ connect(tab, SIGNAL(titleUpdated()), this, SLOT(handleTabTitleUpdated()), Qt::UniqueConnection);
+ connect(tab, SIGNAL(countUpdated()), this, SLOT(handleTabTitleUpdated()), Qt::UniqueConnection);
+ connect(tab, SIGNAL(windowClosing()), this, SLOT(handleTabClosing()), Qt::UniqueConnection);
+ connect(tab, SIGNAL(windowOpening()), this, SLOT(handleWidgetShown()), Qt::UniqueConnection);
+ connect(tab, SIGNAL(wantsToActivate()), this, SLOT(handleWantsToActivate()), Qt::UniqueConnection);
+ connect(tab, SIGNAL(requestNextTab()), this, SLOT(handleRequestedNextTab()), Qt::UniqueConnection);
+ connect(tab, SIGNAL(requestActiveTab()), this, SLOT(handleRequestedActiveTab()), Qt::UniqueConnection);
+ connect(tab, SIGNAL(requestPreviousTab()), this, SLOT(handleRequestedPreviousTab()), Qt::UniqueConnection);
setSizePolicy(policy);
}