diff -r 3a6cba2dd05d -r e726db72da3c src/InventoryEquipments.cpp --- a/src/InventoryEquipments.cpp Mon Mar 21 11:44:51 2022 +0100 +++ b/src/InventoryEquipments.cpp Mon Mar 21 12:08:41 2022 +0100 @@ -87,6 +87,7 @@ connect(insertButton, SIGNAL(clicked()), this, SLOT(on_insertButton_clicked())); connect(exportButton, SIGNAL(clicked()), this, SLOT(on_exportButton_clicked())); // connect(importButton, SIGNAL(clicked()), this, SLOT(on_importButton_clicked())); + connect(this, SIGNAL(setStatus(QString)), parent, SLOT(statusMsg(QString))); emit refreshTable(); } @@ -139,6 +140,7 @@ this->tableEquipments->setCellWidget(ridx, 4, pWidget); query.next(); } + emit setStatus(QString(tr("Total items: %1")).arg(query.size())); }