Warn user when changing selected user about potential data loss
ClosedPublic

Authored by meven on Jan 22 2020, 4:00 PM.

Details

Diff Detail

Repository
R128 User Manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
meven created this revision.Jan 22 2020, 4:00 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJan 22 2020, 4:00 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
meven requested review of this revision.Jan 22 2020, 4:00 PM
meven updated this revision to Diff 74135.Jan 22 2020, 4:03 PM

Clean patch

ngraham requested changes to this revision.Jan 22 2020, 6:02 PM
ngraham added inline comments.
src/accountinfo.cpp
108
  1. Needs more whitespace around things
  2. Change string to "Save changes to this user?"
  3. What's this <qt> tag? Why is it needed?
This revision now requires changes to proceed.Jan 22 2020, 6:02 PM
meven updated this revision to Diff 74159.Jan 22 2020, 6:23 PM

Remove <qt> tags, more indentation, change confirmation text

meven marked an inline comment as done.Jan 22 2020, 6:23 PM
meven added inline comments.
src/accountinfo.cpp
108
  1. done
  2. done
  3. no idea was from copy/paste
meven marked 2 inline comments as done.Jan 22 2020, 6:24 PM
ngraham accepted this revision.Jan 22 2020, 8:06 PM

Lovely. I could have sworn we had a bug report about this, but I can't find it now. Regardless, nice fix.

This revision is now accepted and ready to land.Jan 22 2020, 8:06 PM
This revision was automatically updated to reflect the committed changes.