# # # patch "src/model/Inventory.cpp" # from [cdd2c8db749ff58dd89bc76bf3995e5b7a4de7ce] # to [5f1c07927812405f93f4290686c37dd9b77a2098] # ============================================================ --- src/model/Inventory.cpp cdd2c8db749ff58dd89bc76bf3995e5b7a4de7ce +++ src/model/Inventory.cpp 5f1c07927812405f93f4290686c37dd9b77a2098 @@ -150,14 +150,10 @@ void Inventory::loadBranchName() void Inventory::loadBranchName() { -#ifdef Q_WS_WIN32 - W("Querying branch name disabled, will lead to program halt."); -#else QList children = rootItem->getChildren(); I(children.size() > 0); children[0]->setLabel(MonotoneUtil::getBranchName(workspacePath)); - emit layoutChanged(); -#endif + dataChanged(index(0, 0, QModelIndex()), index(0, 2, QModelIndex())); } QList Inventory::buildTreeRecursive(QList & items, InventoryItem * parentItem)