Commit Graph

57 Commits

Author SHA1 Message Date
Gary Wang
a9ce8b0154 fix: add missing return for canPaste check 2021-01-24 00:47:42 +08:00
Gary Wang
1449844fdd fix: avoid create menu actions everytime when trigger context menu.
fix the minor memory leak issue, also bring some possibility to
implement custom keybinding.

And oops I also did another feature in this commit..
Now we are able to set mouse wheel behavior in config dialog.
2021-01-24 00:07:58 +08:00
Gary Wang
9b1b125d01 fix: also move the windows include for windows build 2021-01-10 15:23:49 +08:00
Gary Wang
6d8f353602 fix: some clazy checks 2021-01-10 14:57:01 +08:00
Gary Wang
3abc16d3ff chore: no longer based on QMainWindow
Since most of the features that QMainWindow offered will never be
used in this program. We don't need a statusbar, a menubar, etc.
2020-12-29 23:28:21 +08:00
Gary Wang
01443d5ad4 chore: remove the wsl workaround since Qt 5.15.2 fixed the issue 2020-12-17 13:04:33 +08:00
Gary Wang
8c152dc862 chore: adjusted the project directory structure 2020-11-05 14:12:58 +08:00