summaryrefslogtreecommitdiff
path: root/plugins/CopyEngine/Ultracopier/DriveManagement.cpp
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2018-05-29 05:44:34 +0100
committerThomas Preud'homme <robotux@celest.fr>2018-05-29 05:44:34 +0100
commit594fcba67600704bee9115c86e18927b2237b304 (patch)
tree38dc620e6b8e9a76c1953ded39c1dc006a830728 /plugins/CopyEngine/Ultracopier/DriveManagement.cpp
parent20062a6a4bc2aec8ada645baa78ff68892ccd154 (diff)
New upstream version 1.4.0.8
Diffstat (limited to 'plugins/CopyEngine/Ultracopier/DriveManagement.cpp')
-rw-r--r--plugins/CopyEngine/Ultracopier/DriveManagement.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CopyEngine/Ultracopier/DriveManagement.cpp b/plugins/CopyEngine/Ultracopier/DriveManagement.cpp
index f25836f..27fc9cb 100644
--- a/plugins/CopyEngine/Ultracopier/DriveManagement.cpp
+++ b/plugins/CopyEngine/Ultracopier/DriveManagement.cpp
@@ -10,9 +10,9 @@ DriveManagement::DriveManagement()
{
tryUpdate();
#ifdef Q_OS_WIN32
- reg1=std::regex("^(\\\\\\\\|//)[^\\\\\\\\/]+(\\\\|/)[^\\\\\\\\/]+");
+ reg1=std::regex("^(\\\\\\\\|//)[^\\\\\\\\/]+(\\\\|/)[^\\\\\\\\/]+.*");
reg2=std::regex("^((\\\\\\\\|//)[^\\\\\\\\/]+(\\\\|/)[^\\\\\\\\/]+).*$");
- reg3=std::regex("^[a-zA-Z]:[\\\\/]");
+ reg3=std::regex("^[a-zA-Z]:[\\\\/].*");
reg4=std::regex("^([a-zA-Z]:[\\\\/]).*$");
#endif
/// \warn ULTRACOPIER_DEBUGCONSOLE() don't work here because the sinal slot is not connected!
@@ -44,7 +44,7 @@ std::string DriveManagement::getDrive(const std::string &fileOrFolder) const
}
#endif
//if unable to locate the right mount point
- ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"unable to locate the right mount point for: "+fileOrFolder+", mount point: "+stringimplode(mountSysPoint,";"));
+ ULTRACOPIER_DEBUGCONSOLE(Ultracopier::DebugLevel_Notice,"unable to locate the right mount point for: "+inode+", mount point: "+stringimplode(mountSysPoint,";"));
return std::string();
}