when using customplot,set iteractions like:

customPlot->setSelectionRectMode(QCP::SelectionRectMode::srmZoom);
customPlot->setInteractions(QCP::iRangeZoom);

then i can zoom by pressing left mouse button and right mouse button.
so how can i disable right mouse button to zoom?