forked from quickshell/quickshell
lint: remove reinterpret_cast lint
Unhelpful.
This commit is contained in:
parent
be5e5fc4a5
commit
3fc1c914c7
15 changed files with 41 additions and 72 deletions
|
@ -15,7 +15,7 @@ QImage DBusNotificationImage::createImage() const {
|
|||
auto format = this->hasAlpha ? QImage::Format_RGBA8888 : QImage::Format_RGB888;
|
||||
|
||||
return QImage(
|
||||
reinterpret_cast<const uchar*>(this->data.data()), // NOLINT
|
||||
reinterpret_cast<const uchar*>(this->data.data()),
|
||||
this->width,
|
||||
this->height,
|
||||
format
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue