Skip to content
Commit ae33e004 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment