summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-01-29 14:57:24 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-01-29 15:35:53 (GMT)
commit8c92db829b41243790c7dcc5300227f591a727a8 (patch)
treeaf9791b3214748870159c8157e70efdf5400b4d7 /Source/QtDialog/QCMake.cxx
parentbcee24aecc1eaf6615eac9f24ae06acdf38845d3 (diff)
downloadCMake-8c92db829b41243790c7dcc5300227f591a727a8.zip
CMake-8c92db829b41243790c7dcc5300227f591a727a8.tar.gz
CMake-8c92db829b41243790c7dcc5300227f591a727a8.tar.bz2
MessageCallback: Remove unused bool& argument
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r--Source/QtDialog/QCMake.cxx7
1 files changed, 3 insertions, 4 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();