Debugger: Strip QLatin1* where possible

Change-Id: Idcab23875b5dc2ecf55e3303f417b995e2252720
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2018-10-07 22:38:47 +03:00
committed by Orgad Shaneh
parent d0d6f99491
commit 147a3c27c4
55 changed files with 491 additions and 494 deletions

View File

@@ -68,7 +68,7 @@ public:
};
SourceAgentPrivate::SourceAgentPrivate()
: producer(QLatin1String("remote"))
: producer("remote")
{
}
@@ -103,7 +103,7 @@ void SourceAgent::setContent(const QString &filePath, const QString &content)
d->path = filePath;
if (!d->editor) {
QString titlePattern = d->producer + QLatin1String(": ")
QString titlePattern = d->producer + ": "
+ Utils::FileName::fromString(filePath).fileName();
d->editor = qobject_cast<BaseTextEditor *>(
EditorManager::openEditorWithContents(