kcms/componentchooser: fix dialog scrollability

Reason for the change

I broke this in 46e9e9e4 while porting the old OverlaySheet version to Dialog; by overriding the contentItem of the dialog, I blew away the invisible internal ScrollView that the content gets magically re-parented to. Which is probably a good example of why this kind of magic is a bad idea overall.

Test plan

  1. Open System Settings and make sure its window is at its minimum window size
  2. Navigate to the "Default Applications" KCM
  3. Click the combobox for "Archive Manager" and select "Other"
  4. Choose "Dolphin" (bear with me here) and click "OK"
  5. Click on "View Details" in the warning message that appears below the combobox you just interacted with

Bugs fixed

BUG: 504418
FIXED-IN: 6.4.0

Edited by Nate Graham

Merge request reports

Loading