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:
@@ -32,6 +32,8 @@
|
||||
|
||||
#include "task.h"
|
||||
|
||||
#include <QtCore/QDir>
|
||||
|
||||
namespace ProjectExplorer
|
||||
{
|
||||
|
||||
@@ -48,8 +50,7 @@ Task::Task() : taskId(0), type(Unknown), line(-1)
|
||||
|
||||
Task::Task(TaskType type_, const QString &description_,
|
||||
const QString &file_, int line_, const QString &category_) :
|
||||
taskId(s_nextId), type(type_), description(description_), file(file_),
|
||||
line(line_), category(category_)
|
||||
taskId(s_nextId), type(type_), description(description_), file(QDir::fromNativeSeparators(file_)), line(line_), category(category_)
|
||||
{
|
||||
++s_nextId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user