Changeset 846 for trunk/tools/qdoc3/config.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/tools/qdoc3/config.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 44 44 */ 45 45 46 #include <QtCore> 46 #include <QDir> 47 #include <QVariant> 48 #include <QFile> 49 #include <QTemporaryFile> 50 #include <QTextStream> 47 51 48 52 #include "archiveextractor.h" … … 525 529 QStringList::ConstIterator e = fileExtensions.begin(); 526 530 while (e != fileExtensions.end()) { 527 QString filePath = findFile(location, files, dirs, fileBase + "." + *e, 528 userFriendlyFilePath); 531 QString filePath = findFile(location, 532 files, 533 dirs, 534 fileBase + "." + *e, 535 userFriendlyFilePath); 529 536 if (!filePath.isEmpty()) 530 537 return filePath; … … 672 679 } 673 680 674 QString text = fin.readAll(); 681 QTextStream stream(&fin); 682 stream.setCodec("UTF-8"); 683 QString text = stream.readAll(); 675 684 text += QLatin1String("\n\n"); 676 685 text += QChar('\0');
Note:
See TracChangeset
for help on using the changeset viewer.