Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit e5a20926 authored by Andrius Štikonas's avatar Andrius Štikonas

Fix device names spanning two lines.

parent cabe4861
......@@ -180,7 +180,7 @@ Device* SfdiskBackend::scanDevice(const QString& deviceNode)
deviceNode});
if (kname.run(-1) && kname.exitCode() == 0)
name = kname.output();
name = kname.output().trimmed();
}
ExternalCommand transport(QStringLiteral("lsblk"), {QStringLiteral("--nodeps"), QStringLiteral("--noheadings"), QStringLiteral("--output"), QStringLiteral("tran"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment