|
|
@ -65,7 +65,7 @@ public: |
|
|
|
QStringList path; |
|
|
|
QStringList path; |
|
|
|
if(item) { |
|
|
|
if(item) { |
|
|
|
if(item->parent()) |
|
|
|
if(item->parent()) |
|
|
|
path.append(getItemPath(item->parent())); |
|
|
|
path << getItemPath(item->parent()); |
|
|
|
path.append(getRSSItem(item)->getID()); |
|
|
|
path.append(getRSSItem(item)->getID()); |
|
|
|
} |
|
|
|
} |
|
|
|
return path; |
|
|
|
return path; |
|
|
@ -87,7 +87,7 @@ public: |
|
|
|
if(getItemType(item) == RssFile::FOLDER && item->isExpanded()) { |
|
|
|
if(getItemType(item) == RssFile::FOLDER && item->isExpanded()) { |
|
|
|
QList<QTreeWidgetItem*> open_subfolders = getAllOpenFolders(item); |
|
|
|
QList<QTreeWidgetItem*> open_subfolders = getAllOpenFolders(item); |
|
|
|
if(!open_subfolders.empty()) { |
|
|
|
if(!open_subfolders.empty()) { |
|
|
|
open_folders.append(open_subfolders); |
|
|
|
open_folders << open_subfolders; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
open_folders << item; |
|
|
|
open_folders << item; |
|
|
|
} |
|
|
|
} |
|
|
@ -104,7 +104,7 @@ public: |
|
|
|
if(getItemType(item) == RssFile::STREAM) { |
|
|
|
if(getItemType(item) == RssFile::STREAM) { |
|
|
|
feeds << item; |
|
|
|
feeds << item; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
feeds.append(getAllFeedItems(item)); |
|
|
|
feeds << getAllFeedItems(item); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
return feeds; |
|
|
|
return feeds; |
|
|
|