build: == Dependency change == ChronoChat now depends on ndn-cxx library
Change-Id: I25d1abe8035c34a7d34cba53960e3456d6677fdc
diff --git a/src/invitation-dialog.cpp b/src/invitation-dialog.cpp
index 1da8f00..17977f2 100644
--- a/src/invitation-dialog.cpp
+++ b/src/invitation-dialog.cpp
@@ -8,18 +8,17 @@
* Author: Yingdi Yu <yingdi@cs.ucla.edu>
*/
-
#include "invitation-dialog.h"
#include "ui_invitation-dialog.h"
using namespace ndn;
-InvitationDialog::InvitationDialog(QWidget *parent)
+InvitationDialog::InvitationDialog(QWidget *parent)
: QDialog(parent)
, ui(new Ui::InvitationDialog)
{
ui->setupUi(this);
-
+
connect(ui->okButton, SIGNAL(clicked()),
this, SLOT(onOkClicked()));
connect(ui->cancelButton, SIGNAL(clicked()),
@@ -44,17 +43,17 @@
void
InvitationDialog::onOkClicked()
-{
- emit invitationResponded(m_invitationInterest, true);
+{
+ emit invitationResponded(m_invitationInterest, true);
this->close();
ui->msgLabel->clear();
m_invitationInterest.clear();
}
-
+
void
InvitationDialog::onCancelClicked()
-{
+{
emit invitationResponded(m_invitationInterest, false);
this->close();