Merge "getCurrentRestrictions should not be nullable" into qt-dev