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:
Tobias Hunger
2011-06-30 13:16:15 +02:00
parent d0de83d9bd
commit 368f259d5e
11 changed files with 23 additions and 40 deletions

View File

@@ -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;
}