QT 5 Update transactionview.cpp

Update to fix Qt 5.0 vs Qt 4.0 compatibility issue