KWin 6 ScreenShotDBusInterface2: Fix valid capture area with 0 width or height
QRect::isEmpty is only true when size is negative, unlike QSize::isEmpty and QRectF::isEmpty. Use QRectF, QSizeF or QSize to check if a rectangle is empty, not QRect.
QRect::isEmpty is only true when size is negative, unlike QSize::isEmpty and QRectF::isEmpty. Use QRectF, QSizeF or QSize to check if a rectangle is empty, not QRect.