[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kpmcore/luks-decorator] src/plugins/libparted: Use the detected FS type directly.
From: Teo Mrnjavac <teo () kde ! org>
Date: 2016-05-04 16:28:12
Message-ID: E1axzem-00032E-EX () scm ! kde ! org
[Download RAW message or body]
Git commit 1cb464c6b0832ad5eafc25352aac776b62fc8d7f by Teo Mrnjavac.
Committed on 04/05/2016 at 16:27.
Pushed by mrnjavac into branch 'luks-decorator'.
Use the detected FS type directly.
M +1 -1 src/plugins/libparted/libpartedbackend.cpp
http://commits.kde.org/kpmcore/1cb464c6b0832ad5eafc25352aac776b62fc8d7f
diff --git a/src/plugins/libparted/libpartedbackend.cpp b/src/plugins/libparted/libpartedbackend.cpp
index 0e15f8b..b6e56f0 100644
--- a/src/plugins/libparted/libpartedbackend.cpp
+++ b/src/plugins/libparted/libpartedbackend.cpp
@@ -352,7 +352,7 @@ void LibPartedBackend::scanDevicePartitions(PedDevice*, Device& d, PedDisk* pedD
// libparted does not handle LUKS partitions
QString mountPoint;
bool mounted = false;
- if (fs->type() == FileSystem::Luks) {
+ if (type == FileSystem::Luks) {
r |= PartitionRole::Luks;
FS::luks* luksFs = dynamic_cast<FS::luks*>(fs);
QString mapperNode = FS::luks::mapperName(node);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic