forked from qt-creator/qt-creator
Utils: ensureWritableDir returns expected_str
Allows calling code to get better feedback to user. Change-Id: I6d11787d314921dc052e87a8348683b221a17425 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -486,7 +486,7 @@ bool FilePath::isWritableFile() const
|
||||
|
||||
\sa createDir()
|
||||
*/
|
||||
bool FilePath::ensureWritableDir() const
|
||||
expected_str<void> FilePath::ensureWritableDir() const
|
||||
{
|
||||
return fileAccess()->ensureWritableDirectory(*this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user