forked from qt-creator/qt-creator
QtSupport: Compile fix for msvc
parameter cannot be called stderr, if it is not that stderr. Change-Id: Ifdfbbd650ec7fe6aa9ce560ace96fbe65961c0b5 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -48,10 +48,10 @@ QScxmlcGenerator::QScxmlcGenerator(const ProjectExplorer::Project *project,
|
||||
this, &QScxmlcGenerator::finishProcess);
|
||||
}
|
||||
|
||||
void QScxmlcGenerator::parseIssues(const QByteArray &stderr)
|
||||
void QScxmlcGenerator::parseIssues(const QByteArray &processStderr)
|
||||
{
|
||||
QList<ProjectExplorer::Task> issues;
|
||||
foreach (const QByteArray &line, stderr.split('\n')) {
|
||||
foreach (const QByteArray &line, processStderr.split('\n')) {
|
||||
QByteArrayList tokens = line.split(':');
|
||||
|
||||
if (tokens.length() > 4) {
|
||||
|
||||
@@ -46,7 +46,7 @@ private:
|
||||
|
||||
QProcess m_process;
|
||||
QTemporaryDir m_tmpdir;
|
||||
void parseIssues(const QByteArray &stderr);
|
||||
void parseIssues(const QByteArray &processStderr);
|
||||
};
|
||||
|
||||
class QScxmlcGeneratorFactory : public ProjectExplorer::ExtraCompilerFactory
|
||||
|
||||
Reference in New Issue
Block a user