From 594fcba67600704bee9115c86e18927b2237b304 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 29 May 2018 05:44:34 +0100 Subject: New upstream version 1.4.0.8 --- plugins/CopyEngine/Ultracopier/DriveManagement.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/CopyEngine/Ultracopier/DriveManagement.cpp') 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(); } -- cgit v1.2.3