Browse Source

- Copy Feed URL no longer works on Folders

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
1560b4ca3b
  1. 3
      src/rss_imp.cpp

3
src/rss_imp.cpp

@ -335,7 +335,8 @@ void RSSImp::copySelectedFeedsURL() {
QList<QTreeWidgetItem*> selectedItems = listStreams->selectedItems(); QList<QTreeWidgetItem*> selectedItems = listStreams->selectedItems();
QTreeWidgetItem* item; QTreeWidgetItem* item;
foreach(item, selectedItems){ foreach(item, selectedItems){
URLs << listStreams->getItemID(item); if(listStreams->getItemType(item) == RssFile::STREAM)
URLs << listStreams->getItemID(item);
} }
qApp->clipboard()->setText(URLs.join("\n")); qApp->clipboard()->setText(URLs.join("\n"));
} }

Loading…
Cancel
Save