Show mount point for swap as "none".

This also silences QFileInfo warning from KMountPoint.
This commit is contained in:
Andrius Štikonas 2016-10-03 00:14:39 +01:00
parent ee6e4469ca
commit 559fad9803
2 changed files with 0 additions and 3 deletions

View File

@ -134,8 +134,6 @@ QString FileSystem::detectMountPoint(FileSystem* fs, const QString& partitionPat
mountPoint = mountPoints.findByDevice(partitionPath) ?
mountPoints.findByDevice(partitionPath)->mountPoint() :
QString();
if (mountPoint == QStringLiteral("none"))
mountPoint = QString();
}
return mountPoint;
}

View File

@ -16,7 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.*
*************************************************************************/
#include "fs/lvm2_pv.h"
#include "core/device.h"