We ported from KDialog to QDialog and thus this code path was never actually executed.
Details
Details
- Reviewers
dfaure - Group Reviewers
KDialog - Commits
- R229:ff9204c0adf8: [KDialog] Fix --attach argument by watching for QDialog
When I do Save As in Chrome the window properly sets the browser window as transient parent and the browser window is dimmed by KWin.
Diff Detail
Diff Detail
- Repository
- R229 KDialog
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Well, KDialog inherits from QDialog, so your new check covers both.
I would just s/K/Q/ instead.
Comment Actions
I should have said this earlier, but qobject_cast<QDialog *>(o) would even be better than inherits, and the isWidgetType() check is unnecessary anyway (a dialog is a widget, yes). Oh well ;) Either way, ship it.