mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
eede11a772
commit
4eed106579
@ -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()
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user