[KPropertiesDialog] Fix QLayout warning
ClosedPublic

Authored by ahmadsamir on Apr 10 2020, 2:59 PM.

Details

Summary

If a widget, QFrame in this case, already has a QLayout, adding/parenting
another layout to it shows a warning:

QLayout: Attempting to add QLayout "" to QFrame "", which already has a layout"

this happens when showing the properties of a symlink to a dir.

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
ahmadsamir created this revision.Apr 10 2020, 2:59 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptApr 10 2020, 2:59 PM
ahmadsamir requested review of this revision.Apr 10 2020, 2:59 PM
meven accepted this revision.Apr 10 2020, 4:51 PM
This revision is now accepted and ready to land.Apr 10 2020, 4:51 PM
This revision was automatically updated to reflect the committed changes.