Skip to content
Commit df6bdad0 authored by Eugene Popov's avatar Eugene Popov 🇺🇦
Browse files

[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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment