Disable the unfinished "join room" dialog
This commit is contained in:
parent
49acb1a1db
commit
05614180f1
@ -56,15 +56,16 @@ RoomList::RoomList(QSharedPointer<MatrixClient> client, QWidget *parent)
|
|||||||
scrollArea_->setWidget(scrollAreaContents_);
|
scrollArea_->setWidget(scrollAreaContents_);
|
||||||
topLayout_->addWidget(scrollArea_);
|
topLayout_->addWidget(scrollArea_);
|
||||||
|
|
||||||
joinRoomButton_ = new QPushButton("Join room", this);
|
//joinRoomButton_ = new QPushButton("Join room", this);
|
||||||
topLayout_->addWidget(joinRoomButton_);
|
//topLayout_->addWidget(joinRoomButton_);
|
||||||
|
|
||||||
connect(client_.data(),
|
connect(client_.data(),
|
||||||
SIGNAL(roomAvatarRetrieved(const QString &, const QPixmap &)),
|
SIGNAL(roomAvatarRetrieved(const QString &, const QPixmap &)),
|
||||||
this,
|
this,
|
||||||
SLOT(updateRoomAvatar(const QString &, const QPixmap &)));
|
SLOT(updateRoomAvatar(const QString &, const QPixmap &)));
|
||||||
|
|
||||||
connect(joinRoomButton_, &QPushButton::clicked, this, [=]() {
|
/* Nonfunctional and disabled
|
||||||
|
* connect(joinRoomButton_, &QPushButton::clicked, this, [=]() {
|
||||||
joinRoomDialog_ = new JoinRoomDialog(this);
|
joinRoomDialog_ = new JoinRoomDialog(this);
|
||||||
connect(joinRoomDialog_,
|
connect(joinRoomDialog_,
|
||||||
SIGNAL(closing(bool, QString)),
|
SIGNAL(closing(bool, QString)),
|
||||||
@ -77,6 +78,7 @@ RoomList::RoomList(QSharedPointer<MatrixClient> client, QWidget *parent)
|
|||||||
|
|
||||||
joinRoomModal_->fadeIn();
|
joinRoomModal_->fadeIn();
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
RoomList::~RoomList() {}
|
RoomList::~RoomList() {}
|
||||||
|
Loading…
Reference in New Issue
Block a user