forked from qt-creator/qt-creator
CMake: Simplify CMakeProcess::finished signature
The parameters were never used, and start to look alien in the presence of QtcProcess::result(). Change-Id: Ie2d6a051b439b5e9161d565b84efb78dbe17487f Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -41,7 +41,8 @@
|
||||
namespace CMakeProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
class CMakeProcess : public QObject {
|
||||
class CMakeProcess : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
@@ -65,7 +66,7 @@ public:
|
||||
int lastExitCode() const { return m_lastExitCode; }
|
||||
signals:
|
||||
void started();
|
||||
void finished(int exitCode, QProcess::ExitStatus exitStatus);
|
||||
void finished();
|
||||
|
||||
private:
|
||||
void handleProcessFinished(int code, QProcess::ExitStatus status);
|
||||
|
||||
Reference in New Issue
Block a user