[Qt] fix RecentRequestsTableModel function ambuguity

- fixes a compiler error with ::createIndex() called in
  RecentRequestsTableModel::index()
- also add some Q_UNUSED() macros