D28122: Copy KFontDialog from KDELibs4Support to KWidgetAddons, now KFontChooserDialog

Ahmad Samir noreply at phabricator.kde.org
Tue Mar 24 11:07:59 GMT 2020


ahmadsamir added inline comments.

INLINE COMMENTS

> meven wrote in kfontchooserdialog.cpp:93
> Shouldn't this be not commented

IIUC, if a function is declared static inside the class body (e.g. in the header file), the static keyword can't be repeated when it's defined outside the class body.

> kossebau wrote in kfontchooserdialog.cpp:97
> 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

hmmm..... dfaure knows more about exec() and event loops more than me. @dfaure WDYT?

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200324/b5ab9dda/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list