forked from qt-creator/qt-creator
Git: InstantBlame: Remove trailing newline from output
Change-Id: Ia2caff14104811255e1eddd036573c4a8a1f9a5d Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
cc2e2211d9
commit
12b85599ec
@@ -382,7 +382,7 @@ void InstantBlame::perform()
|
|||||||
const Utils::FilePath workingDirectory = Utils::FilePath::fromString(fi.path());
|
const Utils::FilePath workingDirectory = Utils::FilePath::fromString(fi.path());
|
||||||
const QString lineString = QString("%1,%1").arg(line);
|
const QString lineString = QString("%1,%1").arg(line);
|
||||||
const auto lineDiffHandler = [this](const CommandResult &result) {
|
const auto lineDiffHandler = [this](const CommandResult &result) {
|
||||||
const QString error = result.cleanedStdErr();
|
const QString error = result.cleanedStdErr().trimmed();
|
||||||
if (!error.isEmpty()) {
|
if (!error.isEmpty()) {
|
||||||
qCWarning(log) << error;
|
qCWarning(log) << error;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user