variable name fix for Qt5