When I give the argument
Qt Code:
  1. model = new QSqlTableModel(mainTab,m_TrackDB);
  2. redModel = new QSqlTableModel(redTab,m_DashDB);
To copy to clipboard, switch view to plain text mode 

it changes nothing only my second view with the second database are filled with the data from redtable.....?????!!!!!!