Also needs a Q_UNUSED (index); here to prevent compiler warnings.