simplified Image
This commit is contained in:
@@ -60,8 +60,7 @@ ModerationAction::ModerationAction(const QString &action)
|
||||
// str);
|
||||
// }
|
||||
} else if (action.startsWith("/ban ")) {
|
||||
this->image_ =
|
||||
Image::fromNonOwningPixmap(&getApp()->resources->buttons.ban);
|
||||
this->image_ = Image::fromPixmap(getApp()->resources->buttons.ban);
|
||||
} else {
|
||||
QString xD = action;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user