D19353: KMail: Fix compile with Qt 5.13 and QT_DISABLE_DEPRECATED_BEFORE=0x060000
Laurent Montel
noreply at phabricator.kde.org
Wed Feb 27 06:56:02 GMT 2019
mlaurent requested changes to this revision.
mlaurent added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> qwmf.cpp:574
>
> - mPainter.drawRoundRect(parm[ 5 ], parm[ 4 ], parm[ 3 ] - parm[ 5 ], parm[ 2 ] - parm[ 4 ], xRnd, yRnd);
> }
it's wrong see:
void QPainter::drawRoundRect(const QRectF &r, int xRnd, int yRnd)
{
drawRoundedRect(r, xRnd, yRnd, Qt::RelativeSize);
}
but
void drawRoundedRect(const QRectF &rect, qreal xRadius, qreal yRadius,
Qt::SizeMode mode = Qt::AbsoluteSize);
> you use 2 differents sizemode
===============================
REPOSITORY
R206 KMail
REVISION DETAIL
https://phabricator.kde.org/D19353
To: marten, #kde_pim, dvratil, mlaurent
Cc: mlaurent, dvratil, kde-pim, dvasin, rodsevich, winterz, vkrause, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190227/59585ed4/attachment.html>
More information about the kde-pim
mailing list