Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.

Check if a query has finished



  • 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.



  • @cxam Hahaha Solved, easily with "query.isActive". Sorry for the stupid question


Log in to reply