diff options
Diffstat (limited to 'src/corelib/io/qdir.cpp')
-rw-r--r-- | src/corelib/io/qdir.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/corelib/io/qdir.cpp b/src/corelib/io/qdir.cpp index 0c65817557..db27bed9d6 100644 --- a/src/corelib/io/qdir.cpp +++ b/src/corelib/io/qdir.cpp @@ -1863,9 +1863,12 @@ bool QDir::setCurrent(const QString &path) */ /*! - Returns the absolute path of the application's current directory. + Returns the absolute path of the application's current directory. The + current directory is the last directory set with QDir::setCurrent() or, if + that was never called, the directory at which this application was started + at by the parent process. - \sa current(), setCurrent(), homePath(), rootPath(), tempPath() + \sa current(), setCurrent(), homePath(), rootPath(), tempPath(), QCoreApplication::applicationDirPath() */ QString QDir::currentPath() { |