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.
This commit is contained in:
Gary Wang committed 2021-01-24 00:07:58 +08:00
1 parent b3011f47e4
commit 1449844fdd
16 files changed
+624 -249

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ public slots:
private:
QCheckBox * m_stayOnTop = nullptr;
QComboBox * m_doubleClickBehavior = nullptr;
QComboBox * m_mouseWheelBehavior = nullptr;
};
#endif // SETTINGSDIALOG_H