summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-02 14:48:45 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-02 14:48:45 (GMT)
commit43cd98f8e44e70cf1a2133a0202e933f41018cbf (patch)
tree67cbc027b041389d82fc6c95c312ee982016691e
parentcc721d1878fda8b4ba294fb4272e2e6a324c9976 (diff)
downloadswift-43cd98f8e44e70cf1a2133a0202e933f41018cbf.zip
swift-43cd98f8e44e70cf1a2133a0202e933f41018cbf.tar.bz2
Connect the signals back up in join MUC and add contact dialogs.
Resolves: #334
-rw-r--r--Swift/QtUI/QtAddContactDialog.cpp4
-rw-r--r--Swift/QtUI/QtJoinMUCDialog.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/Swift/QtUI/QtAddContactDialog.cpp b/Swift/QtUI/QtAddContactDialog.cpp
index 6cd26ad..a5f5a10 100644
--- a/Swift/QtUI/QtAddContactDialog.cpp
+++ b/Swift/QtUI/QtAddContactDialog.cpp
@@ -13,8 +13,8 @@ QtAddContactDialog::QtAddContactDialog(QWidget* parent) : QDialog(parent) {
setupUi(this);
errorLabel_->hide();
setAttribute(Qt::WA_DeleteOnClose, true);
-// connect(buttons_, SIGNAL(accepted()), SLOT(accept()));
-// connect(buttons_, SIGNAL(rejected()), SLOT(reject()));
+ connect(buttons_, SIGNAL(accepted()), SLOT(accept()));
+ connect(buttons_, SIGNAL(rejected()), SLOT(reject()));
}
void QtAddContactDialog::accept() {
diff --git a/Swift/QtUI/QtJoinMUCDialog.cpp b/Swift/QtUI/QtJoinMUCDialog.cpp
index 694ce32..d459947 100644
--- a/Swift/QtUI/QtJoinMUCDialog.cpp
+++ b/Swift/QtUI/QtJoinMUCDialog.cpp
@@ -13,8 +13,8 @@ QtJoinMUCDialog::QtJoinMUCDialog(const QString&, const QString&, QWidget* parent
setupUi(this);
errorLabel_->hide();
setAttribute(Qt::WA_DeleteOnClose, true);
-// connect(buttons_, SIGNAL(accepted()), SLOT(accept()));
-// connect(buttons_, SIGNAL(rejected()), SLOT(reject()));
+ connect(buttons_, SIGNAL(accepted()), SLOT(accept()));
+ connect(buttons_, SIGNAL(rejected()), SLOT(reject()));
}
void QtJoinMUCDialog::accept() {