equal
deleted
inserted
replaced
118 QString str = stream.readLine(); |
118 QString str = stream.readLine(); |
119 if(str.startsWith(";") || str.length() == 0) |
119 if(str.startsWith(";") || str.length() == 0) |
120 continue; |
120 continue; |
121 list << str.trimmed(); |
121 list << str.trimmed(); |
122 } |
122 } |
123 list.removeDuplicates(); |
123 //readd once we require newer Qt than 4.4 |
|
124 //list.removeDuplicates(); |
124 txt.close(); |
125 txt.close(); |
125 } |
126 } |
126 |
127 |
127 void HWChatWidget::saveList(QStringList & list, const QString & file) |
128 void HWChatWidget::saveList(QStringList & list, const QString & file) |
128 { |
129 { |