forked from qt-creator/qt-creator
Fix unit test
Change-Id: Ifb825f44aed8a0df90177a8d75ff6cc579df4d7a Reviewed-on: http://codereview.qt.nokia.com/951 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
@@ -35,8 +35,6 @@
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
#include <projectexplorer/taskwindow.h>
|
||||
|
||||
#include <QtCore/QDir>
|
||||
|
||||
using namespace Qt4ProjectManager;
|
||||
using namespace ProjectExplorer;
|
||||
using namespace ProjectExplorer::Constants;
|
||||
@@ -78,7 +76,7 @@ void AbldParser::stdOutput(const QString &line)
|
||||
|
||||
if (m_perlIssue.indexIn(lne) > -1) {
|
||||
m_waitingForStdOutContinuation = true;
|
||||
m_currentFile = QDir::fromNativeSeparators(m_perlIssue.cap(2));
|
||||
m_currentFile = m_perlIssue.cap(2);
|
||||
m_currentLine = m_perlIssue.cap(3).toInt();
|
||||
|
||||
Task task(Task::Unknown,
|
||||
@@ -148,7 +146,7 @@ void AbldParser::stdError(const QString &line)
|
||||
}
|
||||
|
||||
if (lne.startsWith(QLatin1String("MMPFILE \""))) {
|
||||
m_currentFile = QDir::fromNativeSeparators(lne.mid(9, lne.size() - 10));
|
||||
m_currentFile = lne.mid(9, lne.size() - 10);
|
||||
m_waitingForStdErrContinuation = false;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user