forked from qt-creator/qt-creator
Use new qt5 connect api
Change-Id: I6c0d4ec60759b3c2fedac3e6649b7ec5102a6487 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -64,8 +64,7 @@ void CMakeTool::setCMakeExecutable(const QString &executable)
|
||||
{
|
||||
cancel();
|
||||
m_process = new QProcess();
|
||||
connect(m_process, SIGNAL(finished(int)),
|
||||
this, SLOT(finished(int)));
|
||||
connect(m_process, static_cast<void (QProcess::*)(int)>(&QProcess::finished), this, &CMakeTool::finished);
|
||||
|
||||
m_executable = executable;
|
||||
QFileInfo fi(m_executable);
|
||||
|
||||
Reference in New Issue
Block a user