# # # patch "src/model/Inventory.cpp" # from [2133b530b618105104e29b72f1ca34db5907512f] # to [6dd0f1984b2a3bfe2ac8f34840718725e02a429f] # ============================================================ --- src/model/Inventory.cpp 2133b530b618105104e29b72f1ca34db5907512f +++ src/model/Inventory.cpp 6dd0f1984b2a3bfe2ac8f34840718725e02a429f @@ -127,10 +127,14 @@ 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(MonotoneDelegate::getBranchName(this)); emit layoutChanged(); +#endif } QList Inventory::buildTreeRecursive(QList &items, InventoryItem* parentItem)