fixed strings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7563 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2014-09-26 11:02:51 +00:00
parent eede11a772
commit 4eed106579
2 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@
#include <retroshare/rspeers.h>
CallToaster::CallToaster(const std::string &peerId) : QWidget(NULL)
CallToaster::CallToaster(const RsPeerId &peerId) : QWidget(NULL)
{
/* Invoke the Qt Designer generated object setup routine */
ui.setupUi(this);
@ -36,7 +36,7 @@ CallToaster::CallToaster(const std::string &peerId) : QWidget(NULL)
/* set informations */
ui.textLabel->setText(QString::fromUtf8(rsPeers->getPeerName(peerId).c_str()));
ui.avatarWidget->setFrameType(AvatarWidget::STATUS_FRAME);
ui.avatarWidget->setId(peerId, false);
ui.avatarWidget->setId(peerId);
}
void CallToaster::chatButtonSlot()

View File

@ -27,18 +27,18 @@
*
*
*/
class CAllToaster : public QWidget
class CallToaster : public QWidget
{
Q_OBJECT
public:
CallToaster(const std::string &peerId);
CallToaster(const RsPeerId &peerId);
private slots:
void chatButtonSlot();
private:
std::string peerId;
RsPeerId peerId;
/** Qt Designer generated object */
Ui::CallToaster ui;