mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 09:47:08 +03:00
- Allow to delete rss streams using "Del" key
This commit is contained in:
parent
533aeb3f8b
commit
86d38efcb2
3 changed files with 9 additions and 3 deletions
2
TODO
2
TODO
|
@ -47,8 +47,8 @@
|
||||||
- make use of finishedChecking alert if hydri implements it
|
- make use of finishedChecking alert if hydri implements it
|
||||||
- Clean up delayed progress column sorting code
|
- Clean up delayed progress column sorting code
|
||||||
- Clean up pause after checking code
|
- Clean up pause after checking code
|
||||||
- add delete hotkey for rss feeds
|
|
||||||
- Test rss now that it has been rewritten
|
- Test rss now that it has been rewritten
|
||||||
|
- Refresh rss feeds periodically
|
||||||
- Wait for some bug fixes in libtorrent :
|
- Wait for some bug fixes in libtorrent :
|
||||||
- upload/download limit per torrent (Ticket #83)
|
- upload/download limit per torrent (Ticket #83)
|
||||||
- double free or corruption on exit (Ticket #84)
|
- double free or corruption on exit (Ticket #84)
|
||||||
|
|
|
@ -1048,7 +1048,11 @@ void GUI::on_actionDelete_Permanently_triggered(){
|
||||||
|
|
||||||
// delete selected items in the list
|
// delete selected items in the list
|
||||||
void GUI::on_actionDelete_triggered(){
|
void GUI::on_actionDelete_triggered(){
|
||||||
if(tabs->currentIndex() > 1) return;
|
if(tabs->currentIndex() == 2) return; // No deletion in search tab
|
||||||
|
if(tabs->currentIndex() == 3){
|
||||||
|
rssWidget->on_delStream_button_clicked();
|
||||||
|
return;
|
||||||
|
}
|
||||||
QModelIndexList selectedIndexes;
|
QModelIndexList selectedIndexes;
|
||||||
bool inDownloadList;
|
bool inDownloadList;
|
||||||
if(tabs->currentIndex() == 0) {
|
if(tabs->currentIndex() == 0) {
|
||||||
|
|
|
@ -36,9 +36,11 @@ class RSSImp : public QWidget, public Ui::RSS{
|
||||||
QTimer *refreshTimeTimer;
|
QTimer *refreshTimeTimer;
|
||||||
QString selectedFeedUrl;
|
QString selectedFeedUrl;
|
||||||
|
|
||||||
|
public slots:
|
||||||
|
void on_delStream_button_clicked();
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
void on_addStream_button_clicked();
|
void on_addStream_button_clicked();
|
||||||
void on_delStream_button_clicked();
|
|
||||||
void on_refreshAll_button_clicked();
|
void on_refreshAll_button_clicked();
|
||||||
void displayRSSListMenu(const QPoint&);
|
void displayRSSListMenu(const QPoint&);
|
||||||
void renameStream();
|
void renameStream();
|
||||||
|
|
Loading…
Reference in a new issue