forked from qt-creator/qt-creator
Python: Replace one use of QDirCurrentPath()
Change-Id: I88a04930b8c62a68ee1adb73e1cdd3c433eea4e3 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -94,7 +94,7 @@ void openPythonRepl(QObject *parent, const FilePath &file, ReplType type)
|
||||
if (file.isEmpty()) {
|
||||
if (Project *project = SessionManager::startupProject())
|
||||
return project->projectDirectory();
|
||||
return FilePath::fromString(QDir::currentPath());
|
||||
return FilePath::currentWorkingPath();
|
||||
}
|
||||
return file.absolutePath();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user