Sometimes applications or Plasma have different code paths for X11 or Wayland.
Drkonqi reporting that saves one "question -> wait for reply -> period until reply
on osx the dialog is doing forceActiveWindow, not sure why only on osx though
You should probably just return QStringLiteral("Unknown") instead. The unreachable is fairly dangerous here. If the enum gets extended but not immediately updated in drkonqi this will lead to undefined behavior.