forked from qt-creator/qt-creator
VcsCommand: Get rid of unused private timeoutS()
Change-Id: I9a105e7454a2407ed855d10a715195ed6638aaf3 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -51,8 +51,6 @@ public:
|
|||||||
return m_environment;
|
return m_environment;
|
||||||
}
|
}
|
||||||
|
|
||||||
int timeoutS() const;
|
|
||||||
|
|
||||||
void setup();
|
void setup();
|
||||||
void cleanup();
|
void cleanup();
|
||||||
void setupProcess(Process *process, const Job &job);
|
void setupProcess(Process *process, const Job &job);
|
||||||
@@ -82,12 +80,6 @@ public:
|
|||||||
RunFlags m_flags = RunFlags::None;
|
RunFlags m_flags = RunFlags::None;
|
||||||
};
|
};
|
||||||
|
|
||||||
int VcsCommandPrivate::timeoutS() const
|
|
||||||
{
|
|
||||||
return std::accumulate(m_jobs.cbegin(), m_jobs.cend(), 0,
|
|
||||||
[](int sum, const Job &job) { return sum + job.timeoutS; });
|
|
||||||
}
|
|
||||||
|
|
||||||
void VcsCommandPrivate::setup()
|
void VcsCommandPrivate::setup()
|
||||||
{
|
{
|
||||||
VcsOutputWindow::setRepository(m_defaultWorkingDirectory);
|
VcsOutputWindow::setRepository(m_defaultWorkingDirectory);
|
||||||
|
Reference in New Issue
Block a user