mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 16:58:06 -06:00
Use Qt object ownership to handle QShortcut deletions
This commit is contained in:
@@ -38,8 +38,6 @@ namespace BitTorrent
|
||||
class TorrentHandle;
|
||||
}
|
||||
|
||||
class QShortcut;
|
||||
|
||||
class MainWindow;
|
||||
class TransferListDelegate;
|
||||
class TransferListModel;
|
||||
@@ -128,11 +126,6 @@ private:
|
||||
TransferListModel *m_listModel;
|
||||
TransferListSortModel *m_sortFilterModel;
|
||||
MainWindow *m_mainWindow;
|
||||
QShortcut *m_editHotkey;
|
||||
QShortcut *m_deleteHotkey;
|
||||
QShortcut *m_permDeleteHotkey;
|
||||
QShortcut *m_doubleClickHotkey;
|
||||
QShortcut *m_recheckHotkey;
|
||||
};
|
||||
|
||||
#endif // TRANSFERLISTWIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user