From 43829e445453313e78fc64d0037264b3fb812464 Mon Sep 17 00:00:00 2001 From: Ilia Ryabokon Date: Fri, 17 Aug 2012 13:31:45 +0300 Subject: [PATCH] autoroutage --- src/board/UBFeaturesController.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/board/UBFeaturesController.cpp b/src/board/UBFeaturesController.cpp index f8f329d0..3750685d 100644 --- a/src/board/UBFeaturesController.cpp +++ b/src/board/UBFeaturesController.cpp @@ -875,8 +875,8 @@ void UBFeaturesController::moveExternalData(const QUrl &url, const UBFeature &de UBFeature dest = destination; - if ( destination != trashElement && - !destination.getFullVirtualPath().startsWith( possibleDest.getFullVirtualPath(), Qt::CaseInsensitive ) ) + if ( destination != trashElement && destination != UBFeature() + /*&& !destination.getFullVirtualPath().startsWith( possibleDest.getFullVirtualPath(), Qt::CaseInsensitive )*/ ) { dest = possibleDest; }