From 711a052e06e349ec4444d1e1b44afa655a97b77a Mon Sep 17 00:00:00 2001
From: Michele Calgaro <michele.calgaro@yahoo.it>
Date: Sun, 6 Sep 2026 13:58:44 +0900
Subject: kdf: minor code clean up

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
---
 kdf/disklist.h    |  2 +-
 kdf/stdoption.cpp | 21 ++++++---------------
 2 files changed, 7 insertions(+), 16 deletions(-)

diff --git a/kdf/disklist.h b/kdf/disklist.h
index 3b2c6782..e125b345 100644
--- a/kdf/disklist.h
+++ b/kdf/disklist.h
@@ -37,7 +37,7 @@
 
 #define DF_COMMAND    "df"
 // be pessimistic: df -T only works under linux !??
-#if defined(Q_OS_LINUX) || defined(__dilos__) || defined(__FreeBSD__)
+#if defined(Q_OS_LINUX) || defined(__dilos__) || defined(Q_OS_FREEBSD)
 #define DF_ARGS       "-kT"
 #define NO_FS_TYPE    false
 #else
diff --git a/kdf/stdoption.cpp b/kdf/stdoption.cpp
index 9386963c..b2997055 100644
--- a/kdf/stdoption.cpp
+++ b/kdf/stdoption.cpp
@@ -109,6 +109,12 @@ bool CStdOption::openFileManager( void )
 }
 
 
+bool CStdOption::hideReadOnlyFilesystems( void )
+{
+  return( mHideReadOnlyFilesystems );
+}
+
+
 void CStdOption::setDefault( void )
 {
   mFileManager     = mDefaultFileManager;
@@ -143,22 +149,7 @@ void CStdOption::setOpenFileManager( bool openFileManagerOnMount )
 }
 
 
-bool CStdOption::hideReadOnlyFilesystems( void )
-{
-  return( mHideReadOnlyFilesystems );
-}
-
-
 void CStdOption::setHideReadOnlyFilesystems( bool hide )
 {
   mHideReadOnlyFilesystems = hide;
 }
-
-
-
-
-
-
-
-
-
-- 
cgit v1.2.3

