Skip to content

[ZoomComboBox] Override showPopup instead of mousePressEvent

Eugene Popov requested to merge (removed):zoomcombobox_showpopup into master

There is no need to override mousePressEvent to perform some actions exactly before the popup is displayed, as there is a special virtual function showPopup for that. Using this function (instead of mousePressEvent) makes the code more descriptive and avoids possible issues.

Merge request reports