Fixed popups in viewer list. (#110)

This commit is contained in:
Cranken
2017-09-12 22:10:30 +02:00
committed by fourtf
parent 6ce13db443
commit 4ac811f2a9
6 changed files with 51 additions and 6 deletions
+3 -2
View File
@@ -19,9 +19,10 @@ class AccountPopupWidget : public QWidget
{
Q_OBJECT
public:
AccountPopupWidget(std::shared_ptr<Channel> &channel);
AccountPopupWidget(std::shared_ptr<Channel> channel);
void setName(const QString &name);
void setChannel(std::shared_ptr<Channel> channel);
private:
Ui::AccountPopup *_ui;
@@ -30,7 +31,7 @@ private:
void getUserData();
void loadAvatar(const QUrl &avatarUrl);
std::shared_ptr<Channel> &_channel;
std::shared_ptr<Channel> _channel;
QString userID;
QPixmap avatar;