diff --git a/src/core/device.h b/src/core/device.h index 4583891..e4453c7 100644 --- a/src/core/device.h +++ b/src/core/device.h @@ -124,4 +124,3 @@ protected: }; #endif - diff --git a/src/core/operationrunner.h b/src/core/operationrunner.h index f7df023..6de7742 100644 --- a/src/core/operationrunner.h +++ b/src/core/operationrunner.h @@ -93,4 +93,3 @@ private: }; #endif - diff --git a/src/core/partition.h b/src/core/partition.h index 9aee018..64bfc52 100644 --- a/src/core/partition.h +++ b/src/core/partition.h @@ -289,4 +289,3 @@ private: QTextStream& operator<<(QTextStream& stream, const Partition& p); #endif - diff --git a/src/core/volumemanagerdevice.cpp b/src/core/volumemanagerdevice.cpp index b4b4def..6210b83 100644 --- a/src/core/volumemanagerdevice.cpp +++ b/src/core/volumemanagerdevice.cpp @@ -32,14 +32,5 @@ VolumeManagerDevice::VolumeManagerDevice(const QString& name, QString VolumeManagerDevice::prettyDeviceNodeList() const { - QString rval; - for (const auto &devNode : deviceNodes()) { - rval += devNode + QStringLiteral(","); - } - - if (rval.size()) { - //chop off the trailing colon - rval.chop(1); - } - return rval; + return deviceNodes().join(QStringLiteral(", ")); }