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()) {

    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

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.