make /logs command better
previously you had to have a split open with the channel, that's not required anymore.
This commit is contained in:
@@ -96,7 +96,9 @@ UserInfoPopup::UserInfoPopup()
|
||||
|
||||
QObject::connect(viewLogs.getElement(), &Button::leftClicked, [this] {
|
||||
auto logs = new LogsPopup();
|
||||
logs->setInfo(this->channel_, this->userName_);
|
||||
logs->setChannel(this->channel_);
|
||||
logs->setTargetUserName(this->userName_);
|
||||
logs->getLogs();
|
||||
logs->setAttribute(Qt::WA_DeleteOnClose);
|
||||
logs->show();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user