diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2020-01-23 17:17:03 +0100 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2020-01-23 17:17:03 +0100 |
| commit | 6019e12ea57e3fd90fd9ac6a66b5c9487ca442df (patch) | |
| tree | c06d7170825161d3805ef1e0c9c1d366629199a1 /src/modlist.cpp | |
| parent | ade9cfb6031a2e85aa55c9542852f31059aaef36 (diff) | |
Fixed file structure not being kept when drag and dropping files.
Fix #981
Diffstat (limited to 'src/modlist.cpp')
| -rw-r--r-- | src/modlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp index 94974012..634f9b2c 100644 --- a/src/modlist.cpp +++ b/src/modlist.cpp @@ -1058,7 +1058,7 @@ bool ModList::dropURLs(const QMimeData *mimeData, int row, const QModelIndex &pa continue; } - QFileInfo targetInfo(modDir.absoluteFilePath(sourceInfo.fileName())); + QFileInfo targetInfo(modDir.absoluteFilePath(relativePath)); sourceList << sourceFile; targetList << targetInfo.absoluteFilePath(); relativePathList << QPair<QString,QString>(relativePath, originName); |
