[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kio] src/core: [KMountPoint] Remove Windows CE support
From:       Stefan_Brüns <null () kde ! org>
Date:       2018-08-30 21:13:36
Message-ID: E1fvUG0-0006zQ-Qi () code ! kde ! org
[Download RAW message or body]

Git commit b1478006765a68e76e806a180ecc58df06e7ea92 by Stefan Brüns.
Committed on 30/08/2018 at 21:13.
Pushed by bruns into branch 'master'.

[KMountPoint] Remove Windows CE support

Summary:
The Windows CE line ended in 2012, with Windows Mobile 8. Remove supporting
code.

Reviewers: #frameworks, #windows, vonreth, dhaumann

Reviewed By: #windows, vonreth, dhaumann

Subscribers: dhaumann, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D15158

M  +1    -6    src/core/kmountpoint.cpp

https://commits.kde.org/kio/b1478006765a68e76e806a180ecc58df06e7ea92

diff --git a/src/core/kmountpoint.cpp b/src/core/kmountpoint.cpp
index 4216a09e..56a0e809 100644
--- a/src/core/kmountpoint.cpp
+++ b/src/core/kmountpoint.cpp
@@ -320,7 +320,7 @@ KMountPoint::List KMountPoint::currentMountPoints(DetailsNeededFlags infoNeeded)
         result.append(mp);
     }
 
-#elif defined(Q_OS_WIN) && !defined(_WIN32_WCE)
+#elif defined(Q_OS_WIN)
     //nothing fancy with infoNeeded but it gets the job done
     DWORD bits = GetLogicalDrives();
     if (!bits) {
@@ -335,11 +335,6 @@ KMountPoint::List KMountPoint::currentMountPoints(DetailsNeededFlags infoNeeded)
         }
     }
 
-#elif defined(_WIN32_WCE)
-    Ptr mp(new KMountPoint);
-    mp->d->mountPoint = QString("/");
-    result.append(mp);
-
 #elif !defined(Q_OS_ANDROID)
     STRUCT_SETMNTENT mnttab;
     if ((mnttab = SETMNTENT(MNTTAB, "r")) == nullptr) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic