forked from qt-creator/qt-creator
CMakeProcess: Do some cleanup
1. Get rid of unused started() signal. 2. Remove lastExitCode() getter. 3. Add int exitCode arg to finished() signal. 4. Make some string variables const. Change-Id: I3e9774f64a8f34fd2be4436d766285cad1c539a3 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -31,11 +31,8 @@ public:
|
||||
void run(const BuildDirParameters ¶meters, const QStringList &arguments);
|
||||
void stop();
|
||||
|
||||
int lastExitCode() const { return m_lastExitCode; }
|
||||
|
||||
signals:
|
||||
void started();
|
||||
void finished();
|
||||
void finished(int exitCode);
|
||||
|
||||
private:
|
||||
void handleProcessDone(const Utils::ProcessResultData &resultData);
|
||||
@@ -43,7 +40,6 @@ private:
|
||||
std::unique_ptr<Utils::QtcProcess> m_process;
|
||||
Utils::OutputFormatter m_parser;
|
||||
QElapsedTimer m_elapsed;
|
||||
int m_lastExitCode = 0;
|
||||
};
|
||||
|
||||
} // CMakeProjectManager::Internal
|
||||
|
||||
Reference in New Issue
Block a user