Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
#ifdef QICUCODEC_DEBUG
qWarning("QIcuCodec::QIcuCodec: internal error, could not find MIB for %d", mib);
#endif
+ m_name = "latin1";
}
QIcuCodec::~QIcuCodec()
// do the task
if (list) {
- const QStringList data = library.dataFiles();
- for (int i = 0; i < data.size(); ++i) {
- out.write(qPrintable(QDir::cleanPath(data.at(i))));
+ foreach (const QString &path, library.dataFiles()) {
+ out.write(qPrintable(QDir::cleanPath(path)));
out.write("\n");
}
return 0;