moved menu code to ripple effect button
This commit is contained in:
@@ -147,8 +147,8 @@ void LogsPopup::getOverrustleLogs()
|
||||
|
||||
NetworkRequest req(url);
|
||||
req.setCaller(QThread::currentThread());
|
||||
req.onError([this, channelName](int errorCode) {
|
||||
this->close();
|
||||
req.onError([channelName](int errorCode) {
|
||||
// this->close();
|
||||
auto box = new QMessageBox(
|
||||
QMessageBox::Information, "Error getting logs",
|
||||
"No logs could be found for channel " + channelName);
|
||||
|
||||
@@ -83,7 +83,7 @@ UserInfoPopup::UserInfoPopup()
|
||||
user.emplace<QCheckBox>("Ignore highlights")
|
||||
.assign(&this->ui_.ignoreHighlights);
|
||||
auto viewLogs = user.emplace<RippleEffectLabel2>(this);
|
||||
viewLogs->getLabel().setText("Logs");
|
||||
viewLogs->getLabel().setText("Online logs");
|
||||
|
||||
auto mod = user.emplace<RippleEffectButton>(this);
|
||||
mod->setPixmap(app->resources->buttons.mod);
|
||||
|
||||
Reference in New Issue
Block a user