kossebau added inline comments.

INLINE COMMENTS

> kfontchooserdialog.cpp:97
> +{
> +    KFontChooserDialog dlg(flags | KFontChooser::ShowDifferences, parent);
> +    dlg.setObjectName(QStringLiteral("Font Selector"));

Is having dialog objects on the stack a good idea?

What if the application gets closed while the dialog is open, would that not 
crash?

At least at some point people thought it was not a good idea, see 
https://blogs.kde.org/node/3919

REPOSITORY
  R236 KWidgetsAddons

REVISION DETAIL
  https://phabricator.kde.org/D28122

To: ahmadsamir, #frameworks, davidedmundson, cfeck, broulik, ervin, meven, 
bport, dfaure
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns

Reply via email to