Updated LibraryWindow::reloadAfterCopyMove for only re-fetching/updating the affected folders by a copy/move action

This commit is contained in:
Luis Ángel San Martín
2014-10-15 16:30:51 +02:00
parent 46e4cfceb9
commit ebf2ee72b2
5 changed files with 94 additions and 74 deletions

View File

@ -45,7 +45,6 @@
#include <QVariant>
#include <QModelIndex>
//! [0]
class TreeItem
{
public:
@ -66,6 +65,8 @@ public:
QList<QString> comicNames;
TreeItem * originalItem;
void setData(int column, const QVariant &value);
void clearChildren();
QList<TreeItem*> children();
private:
QList<TreeItem*> childItems;
QList<QVariant> itemData;