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:
Rasmus Karlsson
2018-11-03 15:37:56 +01:00
parent b469c24154
commit bcebfca477
4 changed files with 60 additions and 38 deletions
+3 -1
View File
@@ -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();
});