diff options
| author | Méven Car <[email protected]> | 2023-04-20 18:15:56 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-04-21 15:32:58 +0200 |
| commit | a654b8dae671140da73d70d80bb2f6e2b0282c18 (patch) | |
| tree | 8dc8e3ab9e3e7ed53052d887bc3781fc96ce8f14 /src/panels/terminal/terminalpanel.h | |
| parent | 7a7215a94840662e2583ec49836ea5a38a57e514 (diff) | |
TerminalPanel: better check if terminal needs to change its currentWorkingDirectory when unmounting
CCBUG: 467403
Diffstat (limited to 'src/panels/terminal/terminalpanel.h')
| -rw-r--r-- | src/panels/terminal/terminalpanel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/terminal/terminalpanel.h b/src/panels/terminal/terminalpanel.h index a1b7af03a..49fd1b70d 100644 --- a/src/panels/terminal/terminalpanel.h +++ b/src/panels/terminal/terminalpanel.h @@ -45,7 +45,7 @@ public: * home when an unmounting request is received. */ void goHome(); - QString currentWorkingDirectory(); + bool currentWorkingDirectoryIsParentOf(const QString &path) const; bool isHiddenInVisibleWindow() const; bool terminalHasFocus() const; bool hasProgramRunning() const; |
