[Qt] fix RecentRequestsTableModel function ambiuguity

- fixes a compiler ambiguity error with ::createIndex() called in
  RecentRequestsTableModel::index()
- also add some Q_UNUSED() macros
Merge pull request #3381

7df07b3 [Qt] fix RecentRequestsTableModel function ambiuguity (Philip Kaufmann)