]> cloud.milkyroute.net Git - dolphin.git/commitdiff
kio-admin: Update risk dialog result check
authorMisha Vicha <waterpigcz@gmail.com>
Fri, 1 Aug 2025 13:19:53 +0000 (15:19 +0200)
committerMisha Vicha <waterpigcz@gmail.com>
Sat, 9 Aug 2025 14:54:08 +0000 (14:54 +0000)
The check now correctly considers only KMessageDialog::PrimaryAction as confirmation, where before closing the window (4 isn't KMessageDialog::Cancel anymore) would pass through and still ask for the root password even when the prompt was technically cancelled.

Also now correctly uses the Enum instead of a hardcoded integer.


No differences found