# # # patch "src/model/Inventory.cpp" # from [82326405d5fe9141d263bf8d856e0f898fe04705] # to [32ee297eee600346e5397fd2e0765504aa01919d] # # patch "src/model/Inventory.h" # from [c12c8bd63a9faeacd062544fc292cc0559cc3aa5] # to [3f2a4810860620d0e444c9cd999b3f5b5162163b] # ============================================================ --- src/model/Inventory.cpp 82326405d5fe9141d263bf8d856e0f898fe04705 +++ src/model/Inventory.cpp 32ee297eee600346e5397fd2e0765504aa01919d @@ -435,6 +435,7 @@ bool Inventory::parseInventoryLine( return true; } +//! TODO move this somewhere else without the inventory model dependency QMap Inventory::findUnaccountedRenames() { QList missingItems; ============================================================ --- src/model/Inventory.h c12c8bd63a9faeacd062544fc292cc0559cc3aa5 +++ src/model/Inventory.h 3f2a4810860620d0e444c9cd999b3f5b5162163b @@ -35,7 +35,6 @@ public: Inventory(QObject *, const WorkspacePath &); ~Inventory(); - void readInventory(); QMap findUnaccountedRenames(); // needed Qt Model methods @@ -49,6 +48,9 @@ public: int rowCount(const QModelIndex &) const; int columnCount(const QModelIndex &) const; +public slots: + void readInventory(); + private: void processTaskResult(const MonotoneTask &); bool parseInventoryLine(const QString &, int &, int &, int &, QString &, bool &);