build: == Dependency change == ChronoChat now depends on ndn-cxx library
Change-Id: I25d1abe8035c34a7d34cba53960e3456d6677fdc
diff --git a/src/set-alias-dialog.cpp b/src/set-alias-dialog.cpp
index 24fb6a8..ef21ab7 100644
--- a/src/set-alias-dialog.cpp
+++ b/src/set-alias-dialog.cpp
@@ -12,16 +12,16 @@
#include "ui_set-alias-dialog.h"
-SetAliasDialog::SetAliasDialog(QWidget *parent)
+SetAliasDialog::SetAliasDialog(QWidget *parent)
: QDialog(parent)
, ui(new Ui::SetAliasDialog)
{
ui->setupUi(this);
connect(ui->okButton, SIGNAL(clicked()),
- this, SLOT(onOkClicked()));
+ this, SLOT(onOkClicked()));
connect(ui->cancelButton, SIGNAL(clicked()),
- this, SLOT(onCancelClicked()));
+ this, SLOT(onCancelClicked()));
}
SetAliasDialog::~SetAliasDialog()
@@ -38,14 +38,14 @@
void
SetAliasDialog::onCancelClicked()
-{
- this->close();
+{
+ this->close();
}
-void
+void
SetAliasDialog::setTargetIdentity(const QString& targetIdentity, const QString& alias)
-{
- m_targetIdentity = targetIdentity;
+{
+ m_targetIdentity = targetIdentity;
QString msg = QString("Set alias for %1:").arg(targetIdentity);
ui->introLabel->setText(msg);
ui->aliasInput->setText(alias);