--- a/src/InventoryHops.cpp Mon Mar 21 11:44:51 2022 +0100 +++ b/src/InventoryHops.cpp Mon Mar 21 12:08:41 2022 +0100 @@ -88,6 +88,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(); } @@ -178,6 +179,7 @@ this->tableHops->setCellWidget(ridx, 10, pWidget); query.next(); } + emit setStatus(QString(tr("Total items: %1")).arg(query.size())); }