[Qt] small cleanups in transactiontablemodel