Browse Source

- Reorganized RSS feeds popup menu

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
c6003c7403
  1. 10
      src/rss_imp.cpp

10
src/rss_imp.cpp

@ -47,14 +47,20 @@ void RSSImp::displayRSSListMenu(const QPoint&){ @@ -47,14 +47,20 @@ void RSSImp::displayRSSListMenu(const QPoint&){
QMenu myFinishedListMenu(this);
QList<QTreeWidgetItem*> selectedItems = listStreams->selectedItems();
if(selectedItems.size() > 0) {
myFinishedListMenu.addAction(actionRefresh);
myFinishedListMenu.addAction(actionMark_all_as_read);
myFinishedListMenu.addSeparator();
myFinishedListMenu.addAction(actionDelete);
if(selectedItems.size() == 1) {
myFinishedListMenu.addAction(actionRename);
myFinishedListMenu.addAction(actionRSS_feed_downloader);
}
myFinishedListMenu.addSeparator();
myFinishedListMenu.addAction(actionCopy_feed_URL);
myFinishedListMenu.addAction(actionRefresh);
if(selectedItems.size() == 1) {
myFinishedListMenu.addSeparator();
myFinishedListMenu.addAction(actionRSS_feed_downloader);
}
}else{
myFinishedListMenu.addAction(actionCreate);
myFinishedListMenu.addAction(actionRefreshAll);

Loading…
Cancel
Save