Pink2Dev / Pink2

Pinkcoin 2 Qt wallet and daemon
https://getstarted.with.pink/
MIT License
29 stars 22 forks source link

Fix several UI-related bugs #26

Closed aistrych closed 5 years ago

aistrych commented 5 years ago

Fix #22 Issue was caused by usage of pos() method in mouseMoveEvent for measuring distance traversed by mouse cursor. According to Qt5 documentation that method should not be used on X11 systems in mouseMoveEvent method. Changed to use globalPos() instead.

Fix #23 Issue was caused by setting maximum width for QMenuBar that with default size policy (QSizePolicy::Preferred) leads to wrong behaviour.

Additional changes: