Fix detaching
Calling last() on a temporary QList causes a detach. We can fix it by using constLast() instead, which has been introduced in Qt 5.6 Differential Revision: D4693
parent
655e28d9
Please register or sign in to comment
Calling last() on a temporary QList causes a detach. We can fix it by using constLast() instead, which has been introduced in Qt 5.6 Differential Revision: D4693