Added Q_UNUSED to remove warning