QTfrontend/chatwidget.cpp
changeset 3058 2ebc20485344
parent 3019 d6e19f35d98d
child 3123 b0a02930a1dc
equal deleted inserted replaced
3057:e6e4c109ceb8 3058:2ebc20485344
   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 {