Use Qt object ownership to handle QShortcut deletions

This commit is contained in:
Chocobo1 2019-07-13 12:55:21 +08:00
commit 599bfc0735
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
12 changed files with 38 additions and 66 deletions

View file

@ -34,7 +34,6 @@
#include <QWidget>
class QListWidgetItem;
class QShortcut;
class QTreeWidgetItem;
class ArticleListWidget;
@ -86,8 +85,6 @@ private:
Ui::RSSWidget *m_ui;
ArticleListWidget *m_articleListWidget;
FeedListWidget *m_feedListWidget;
QShortcut *m_editHotkey;
QShortcut *m_deleteHotkey;
};
#endif // RSSWIDGET_H