namespace: try to resolve ndn and std conflicts
Change-Id: I141ead4b8f30ce75bae73974e47e6e5acd75a296
diff --git a/src/invite-list-dialog.cpp b/src/invite-list-dialog.cpp
index c46036f..bfc4040 100644
--- a/src/invite-list-dialog.cpp
+++ b/src/invite-list-dialog.cpp
@@ -11,8 +11,6 @@
#include "invite-list-dialog.h"
#include "ui_invite-list-dialog.h"
-using namespace std;
-
InviteListDialog::InviteListDialog(QWidget *parent)
:QDialog(parent)
, ui(new Ui::InviteListDialog)
@@ -35,9 +33,9 @@
}
void
-InviteListDialog::setInviteLabel(string label)
+InviteListDialog::setInviteLabel(std::string label)
{
- string msg("invite to chatroom:\n");
+ std::string msg("invite to chatroom:\n");
msg += label;
ui->inviteLabel->setText(QString::fromStdString(msg));
}