diff options
| author | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-11 13:28:17 -0500 |
|---|---|---|
| committer | SulfurNitride <SulfurNitride@users.noreply.github.com> | 2026-03-11 13:28:17 -0500 |
| commit | 853a1f6259ea08f051e678276e95c4488d60efa4 (patch) | |
| tree | c719b70157829280c8d92403a6bd986b3014ffd0 /libs/preview_dds_native/src/ddswidget.cpp | |
| parent | ad268d496f01512f3b67afeb8d6c358c17559c82 (diff) | |
Fix "Create Mod..." and "Move content to Mod..." overwrite context menu actions
The previous implementation used Windows SHFileOperation semantics that don't
work on Linux: literal wildcard in paths, QFile::copy on directories,
absolutePath() instead of absoluteFilePath(), and GetLastError() for errors.
Rewrite moveOverwriteContentsTo() to recursively iterate all files, compute
relative paths, and move each file individually with cross-filesystem fallback.
Empty directories in overwrite are cleaned up after the move.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/preview_dds_native/src/ddswidget.cpp')
0 files changed, 0 insertions, 0 deletions
