forked from qt-creator/qt-creator
		
	Utils: filepathify fileutils
Change-Id: Ic9048369f64d793f5f567cdb0c715488fb5a4ff6 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
		| @@ -242,7 +242,7 @@ bool TestCase::waitUntilProjectIsFullyOpened(Project *project, int timeOutInMs) | ||||
|  | ||||
| bool TestCase::writeFile(const QString &filePath, const QByteArray &contents) | ||||
| { | ||||
|     Utils::FileSaver saver(filePath); | ||||
|     Utils::FileSaver saver(Utils::FilePath::fromString(filePath)); | ||||
|     if (!saver.write(contents) || !saver.finalize()) { | ||||
|         const QString warning = QLatin1String("Failed to write file to disk: ") + filePath; | ||||
|         QWARN(qPrintable(warning)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user