|
|
@ -875,8 +875,8 @@ void UBFeaturesController::moveExternalData(const QUrl &url, const UBFeature &de |
|
|
|
|
|
|
|
|
|
|
|
UBFeature dest = destination; |
|
|
|
UBFeature dest = destination; |
|
|
|
|
|
|
|
|
|
|
|
if ( destination != trashElement && |
|
|
|
if ( destination != trashElement && destination != UBFeature() |
|
|
|
!destination.getFullVirtualPath().startsWith( possibleDest.getFullVirtualPath(), Qt::CaseInsensitive ) ) |
|
|
|
/*&& !destination.getFullVirtualPath().startsWith( possibleDest.getFullVirtualPath(), Qt::CaseInsensitive )*/ ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
dest = possibleDest; |
|
|
|
dest = possibleDest; |
|
|
|
} |
|
|
|
} |
|
|
|