From the docs:
QString QDir::currentPath () [static]
Returns the absolute path of the application's current directory.
Use QDir:: path() instead
Qt Code:
  1. QString rootDir = tmpCurrDir.path();
To copy to clipboard, switch view to plain text mode