1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 21:14:33 +00:00

- Copy Feed URL no longer works on Folders

This commit is contained in:
Christophe Dumez 2009-08-24 08:05:54 +00:00
parent 68d8a9ed47
commit 1560b4ca3b

View File

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