Skip to content

Commit

Permalink
Remove ChildProcessSetup and directly call onsetupChildProcess.
Browse files Browse the repository at this point in the history
  • Loading branch information
doug1234 committed Mar 26, 2024
1 parent 975be81 commit bcd4ff7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion lib/kptyprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ KPtyProcess::KPtyProcess(QObject *parent) :
KPtyProcess(-1, parent)
{
setChildProcessModifier([this](){
ChildProcessSetup();
onSetupChildProcess();
});
}

Expand Down
5 changes: 0 additions & 5 deletions lib/kptyprocess.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ class KPtyProcess : public KProcess
*/
KPtyDevice *pty() const;

/**
* Do child process setup.
*/
void ChildProcessSetup() { onSetupChildProcess(); };

protected:
/**
* Child process configuration
Expand Down

0 comments on commit bcd4ff7

Please sign in to comment.