src/ProfileMashs.cpp

changeset 79
e726db72da3c
parent 75
5f953abbd73c
child 83
6f744c602139
--- a/src/ProfileMashs.cpp	Mon Mar 21 11:44:51 2022 +0100
+++ b/src/ProfileMashs.cpp	Mon Mar 21 12:08:41 2022 +0100
@@ -67,6 +67,7 @@
 
     connect(quitButton, SIGNAL(clicked()), parent, SLOT(fromProfileMashs()));
     connect(insertButton, SIGNAL(clicked()), this, SLOT(on_insertButton_clicked()));
+    connect(this, SIGNAL(setStatus(QString)), parent, SLOT(statusMsg(QString)));
     emit refreshTable();
 }
 
@@ -129,6 +130,7 @@
 	this->tableMashs->setCellWidget(ridx, 3, pWidget);
 	query.next();
     }
+    emit setStatus(QString(tr("Total items: %1")).arg(query.size()));
 }
 
 

mercurial