on Qt5.0, QComboBox doesn't have currentData function, use compat version.