Changeset 64816 in webkit
- Timestamp:
- Aug 5, 2010 10:08:34 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r64814 r64816 1 2010-08-05 Simon Hausmann <simon.hausmann@nokia.com> 2 3 Reviewed by Laszlo Gombos. 4 5 [Qt] Temporary files should not be created in the current directory 6 https://bugs.webkit.org/show_bug.cgi?id=43562 7 8 Don't create temporary files in the current directory, use QDir::tempPath() 9 instead, as suggested by the QTemporaryFile documentation. 10 11 * platform/qt/FileSystemQt.cpp: 12 (WebCore::openTemporaryFile): 13 1 14 2010-08-05 François Sausset <sausset@gmail.com> 2 15 -
trunk/WebCore/platform/qt/FileSystemQt.cpp
r60747 r64816 117 117 { 118 118 #ifndef QT_NO_TEMPORARYFILE 119 QTemporaryFile* tempFile = new QTemporaryFile(Q Latin1String(prefix));119 QTemporaryFile* tempFile = new QTemporaryFile(QDir::tempPath() + QLatin1Char('/') + QLatin1String(prefix)); 120 120 tempFile->setAutoRemove(false); 121 121 QFile* temp = tempFile;
Note: See TracChangeset
for help on using the changeset viewer.