|
|
|
@ -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); |
|
|
|
|