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