Browse Source

- Allow to delete rss streams using "Del" key

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
86d38efcb2
  1. 2
      TODO
  2. 6
      src/GUI.cpp
  3. 4
      src/rss_imp.h

2
TODO

@ -47,8 +47,8 @@ @@ -47,8 +47,8 @@
- make use of finishedChecking alert if hydri implements it
- Clean up delayed progress column sorting code
- Clean up pause after checking code
- add delete hotkey for rss feeds
- Test rss now that it has been rewritten
- Refresh rss feeds periodically
- Wait for some bug fixes in libtorrent :
- upload/download limit per torrent (Ticket #83)
- double free or corruption on exit (Ticket #84)

6
src/GUI.cpp

@ -1048,7 +1048,11 @@ void GUI::on_actionDelete_Permanently_triggered(){ @@ -1048,7 +1048,11 @@ void GUI::on_actionDelete_Permanently_triggered(){
// delete selected items in the list
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;
bool inDownloadList;
if(tabs->currentIndex() == 0) {

4
src/rss_imp.h

@ -36,9 +36,11 @@ class RSSImp : public QWidget, public Ui::RSS{ @@ -36,9 +36,11 @@ class RSSImp : public QWidget, public Ui::RSS{
QTimer *refreshTimeTimer;
QString selectedFeedUrl;
public slots:
void on_delStream_button_clicked();
protected slots:
void on_addStream_button_clicked();
void on_delStream_button_clicked();
void on_refreshAll_button_clicked();
void displayRSSListMenu(const QPoint&);
void renameStream();

Loading…
Cancel
Save