Please turn it on in your browser preferences.
for specific sites, we recommend the
Review Request #125777 -
Created Oct. 24, 2015 and submitted
Oct. 29, 2015, 8:46 a.m.
KFormat::spelloutDuration works perfectly well for out use case, using it is a no brainer.
Are you sure you want the system locale? Usually you want the application locale by calling QLocale() instead.
So, I'm not sure how this is supposed to work. According to the documentation constructing a QLocale() object without any args gives us the defaultLocale and if none is set the system locale. So using QLocale() does make sense, but out of curiosity why would application need to override the system locale?
Use the default locale set by KFormat's ctor, instead of setting it explicitly.
Revision 2 (+4 -24)
Submitted with commit 13b8691089df17752266f079b5318e9436fee08c by Pinak Ahuja to branch master.