The "Format files" option in the project explorer is right next to "Find/replace". It is easy to accidentally trigger it, and then there is no confirmation before an automatic modification of all files in the selected folder takes place (and potential data loss). Reproducible: Always
Git commit 3785846b75c0182e0d2397a17c89bdb1409c75ce by Sven Brauch. Committed on 11/10/2015 at 14:24. Pushed by brauch into branch 'master'. Ask before formatting a whole folder of files M +8 -1 shell/sourceformattercontroller.cpp http://commits.kde.org/kdevplatform/3785846b75c0182e0d2397a17c89bdb1409c75ce
*** Bug 339161 has been marked as a duplicate of this bug. ***
*** Bug 298804 has been marked as a duplicate of this bug. ***