forked from qt-creator/qt-creator
Core::ShellCommand: Remove unused futureProgress()
Change-Id: I15f0ed521714adc873c06f510a03a44a941aaffa Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -42,11 +42,6 @@ ShellCommand::ShellCommand(const FilePath &workingDirectory, const Environment &
|
|||||||
this, &ShellCommand::coreAboutToClose);
|
this, &ShellCommand::coreAboutToClose);
|
||||||
}
|
}
|
||||||
|
|
||||||
FutureProgress *ShellCommand::futureProgress() const
|
|
||||||
{
|
|
||||||
return m_progress.data();
|
|
||||||
}
|
|
||||||
|
|
||||||
void ShellCommand::addTask(QFuture<void> &future)
|
void ShellCommand::addTask(QFuture<void> &future)
|
||||||
{
|
{
|
||||||
const QString name = displayName();
|
const QString name = displayName();
|
||||||
|
@@ -42,8 +42,6 @@ class CORE_EXPORT ShellCommand : public Utils::ShellCommand
|
|||||||
public:
|
public:
|
||||||
ShellCommand(const Utils::FilePath &workingDirectory, const Utils::Environment &environment);
|
ShellCommand(const Utils::FilePath &workingDirectory, const Utils::Environment &environment);
|
||||||
|
|
||||||
FutureProgress *futureProgress() const;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void addTask(QFuture<void> &future) override;
|
void addTask(QFuture<void> &future) override;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user