Check if a query has finished
Solved
General and Desktop
-
Hi I want to remove a row from a QTableWidget if a query has finished so looking in the documentation I saw "query.finish" so I made:
if (query.finish()) { row--; ui->tableWidget->setRowCount(row); }
But it doesn't work because "query.finish" is void and not bool.
-
Hi I want to remove a row from a QTableWidget if a query has finished so looking in the documentation I saw "query.finish" so I made:
if (query.finish()) { row--; ui->tableWidget->setRowCount(row); }
But it doesn't work because "query.finish" is void and not bool.