From: Misha Vicha Date: Fri, 1 Aug 2025 13:19:53 +0000 (+0200) Subject: kio-admin: Update risk dialog result check X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/bdb098c0f829d10ef0dcd587c63af65d3cf59658?hp=bdb098c0f829d10ef0dcd587c63af65d3cf59658 kio-admin: Update risk dialog result check 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. ---