forked from qt-creator/qt-creator
ProjectExplorer: Compile with QT_NO_CAST_FROM_ASCII.
- Add missing translations - Remove some unneeded conversions. Change-Id: Ia30e5c838099e52a9f38ca4854395c10c0391075 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -63,8 +63,8 @@ void CopyTaskHandler::handle(const ProjectExplorer::Task &task)
|
||||
break;
|
||||
}
|
||||
|
||||
QApplication::clipboard()->setText(QDir::toNativeSeparators(task.file) + ':' +
|
||||
QString::number(task.line) + ": "
|
||||
QApplication::clipboard()->setText(QDir::toNativeSeparators(task.file) + QLatin1Char(':') +
|
||||
QString::number(task.line) + QLatin1String(": ")
|
||||
+ type + task.description);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user