Hi,

I'm doing the following to remove items from my QList :

Qt Code:
  1. for( int i = 0; i < m_Data.count(); i++ )
  2. m_Data.removeAt( i );
To copy to clipboard, switch view to plain text mode 

QList is defined as QList<QString>

Is there a quicker way as sometimes there can be over 500,000 QString's in the list.

Regards,
Steve