mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Use Qt object ownership to handle QShortcut deletions
This commit is contained in:
@@ -37,20 +37,19 @@
|
||||
|
||||
#include "base/rss/rss_autodownloadrule.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class AutomatedRssDownloader;
|
||||
}
|
||||
|
||||
class QListWidgetItem;
|
||||
class QRegularExpression;
|
||||
class QShortcut;
|
||||
|
||||
namespace RSS
|
||||
{
|
||||
class Feed;
|
||||
}
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class AutomatedRssDownloader;
|
||||
}
|
||||
|
||||
class AutomatedRssDownloader : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -102,8 +101,6 @@ private:
|
||||
|
||||
Ui::AutomatedRssDownloader *m_ui;
|
||||
QListWidgetItem *m_currentRuleItem;
|
||||
QShortcut *m_editHotkey;
|
||||
QShortcut *m_deleteHotkey;
|
||||
QSet<QPair<QString, QString>> m_treeListEntries;
|
||||
RSS::AutoDownloadRule m_currentRule;
|
||||
QHash<QString, QListWidgetItem *> m_itemsByRuleName;
|
||||
|
||||
Reference in New Issue
Block a user