Use QDir::rename on platforms where filesystem stl standard header might not be present
Details
Details
- Reviewers
jriddell ngraham pino - Group Reviewers
Elisa - Commits
- R255:4bedccca8f21: fix compilation to not require filesystem stl c++ header
Automatic tests are OK
Diff Detail
Diff Detail
- Repository
- R255 Elisa
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Or, even better, just unconditionally use QDir::rename? This way there is no need to maintain two different code paths with a number of arbitrary #ifdef blocks.
autotests/localfilelistingtest.cpp | ||
---|---|---|
388–389 | Even easier: QDir().rename(...); |