From a3732c1459cd77f33030bb71bb9b26893856c206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 17 Sep 2017 13:52:48 +0100 Subject: [PATCH] Fix a typo. Remove extra trimmed(). --- src/core/fstab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/fstab.cpp b/src/core/fstab.cpp index 0a6b947..8508576 100644 --- a/src/core/fstab.cpp +++ b/src/core/fstab.cpp @@ -61,7 +61,7 @@ FstabEntryList readFstabEntries( const QString& fstabPath ) const QStringList fstabLines = QString::fromLocal8Bit(fstabFile.readAll()).split( QLatin1Char('\n') ); for ( const QString& rawLine : fstabLines ) { - QString line = rawLine.trimmed().trimmed(); + QString line = rawLine.trimmed(); if ( line.startsWith( QLatin1Char('#') ) || line.isEmpty()) { fstabEntries.append( { {}, {}, {}, {}, {}, {}, line } ); continue;