┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/terminal/terminalpanel.cpp
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-04-20 18:15:56 +0200
committerMéven Car <[email protected]>2023-04-22 09:33:01 +0200
commitc9217337c717c336eb8cfcc27e9d4992bc1ebb37 (patch)
treed90965e1c9a83ef55de892d6a553f3132d31152d /src/panels/terminal/terminalpanel.cpp
parent18605364319043971a40cf6ab50e40761af5970f (diff)
TerminalPanel: rename currentWorkingDirectoryIsParentOf to currentWorkingDirectoryIsChildOf
NO_CHANGELOG
Diffstat (limited to 'src/panels/terminal/terminalpanel.cpp')
-rw-r--r--src/panels/terminal/terminalpanel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panels/terminal/terminalpanel.cpp b/src/panels/terminal/terminalpanel.cpp
index 49eb42c1d..9e0391c41 100644
--- a/src/panels/terminal/terminalpanel.cpp
+++ b/src/panels/terminal/terminalpanel.cpp
@@ -54,7 +54,7 @@ void TerminalPanel::goHome()
sendCdToTerminal(QDir::homePath(), HistoryPolicy::SkipHistory);
}
-bool TerminalPanel::currentWorkingDirectoryIsParentOf(const QString &path) const
+bool TerminalPanel::currentWorkingDirectoryIsChildOf(const QString &path) const
{
if (m_terminal) {
return m_terminal->currentWorkingDirectory().startsWith(path);