forked from qt-creator/qt-creator
Inline RunControl::canReUseOutputPane into its only caller
Change-Id: I2e858ab3bf715b41c26cfb6246d470787d003e3c Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -1445,17 +1445,6 @@ Project *RunControl::project() const
|
||||
return d->project.data();
|
||||
}
|
||||
|
||||
bool RunControl::canReUseOutputPane(const RunControl *other) const
|
||||
{
|
||||
if (!other || other->isRunning())
|
||||
return false;
|
||||
|
||||
return d->runnable.executable == other->d->runnable.executable
|
||||
&& d->runnable.commandLineArguments == other->d->runnable.commandLineArguments
|
||||
&& d->runnable.workingDirectory == other->d->runnable.workingDirectory
|
||||
&& d->runnable.environment == other->d->runnable.environment;
|
||||
}
|
||||
|
||||
/*!
|
||||
A handle to the application process.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user