[ZoomComboBox] Override showPopup instead of mousePressEvent
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.
parent
77947f34
Please register or sign in to comment