diff options
Diffstat (limited to 'Source/QtDialog')
-rw-r--r-- | Source/QtDialog/QCMake.cxx | 7 | ||||
-rw-r--r-- | Source/QtDialog/QCMake.h | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx index 8c71cc0..065d610 100644 --- a/Source/QtDialog/QCMake.cxx +++ b/Source/QtDialog/QCMake.cxx @@ -25,8 +25,8 @@ QCMake::QCMake(QObject* p) cmSystemTools::SetRunCommandHideConsole(true); cmSystemTools::SetMessageCallback( - [this](const char* msg, const char* title, bool& cancel) { - this->messageCallback(msg, title, cancel); + [this](const char* msg, const char* title) { + this->messageCallback(msg, title); }); cmSystemTools::SetStdoutCallback( [this](const char* msg, size_t len) { this->stdoutCallback(msg, len); }); @@ -359,8 +359,7 @@ void QCMake::progressCallback(const char* msg, float percent) QCoreApplication::processEvents(); } -void QCMake::messageCallback(const char* msg, const char* /*title*/, - bool& /*stop*/) +void QCMake::messageCallback(const char* msg, const char* /*title*/) { emit this->errorMessage(QString::fromLocal8Bit(msg)); QCoreApplication::processEvents(); diff --git a/Source/QtDialog/QCMake.h b/Source/QtDialog/QCMake.h index ad85630..4f22505 100644 --- a/Source/QtDialog/QCMake.h +++ b/Source/QtDialog/QCMake.h @@ -169,7 +169,7 @@ protected: bool interruptCallback(); void progressCallback(const char* msg, float percent); - void messageCallback(const char* msg, const char* title, bool&); + void messageCallback(const char* msg, const char* title); void stdoutCallback(const char* msg, size_t len); void stderrCallback(const char* msg, size_t len); |