summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoatheme.h
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@theqtcompany.com>2015-06-19 13:11:17 +0200
committerKai Koehne <kai.koehne@theqtcompany.com>2015-06-24 10:48:23 +0000
commit235292710b3eaf9bdd7e7fb4919f77e54143c492 (patch)
treeef6a5dbcf97e9f8d25a779ac6ccd975ffbdeb876 /src/plugins/platforms/cocoa/qcocoatheme.h
parentfa09699918d2759c785a322ae6947fe2745daa9f (diff)
Doc: Improve code snippet in QTranslator overview
Use translator::load(QLocale(), ...) which loads the a translation mapping the users preferred languages, instead of just hardcoding one. This is arguably the more common (and interesting) case. Also, QPushButton::tr() does place the string in the "QPushButton" namespace, which is just wrong (TM). Change-Id: Id22851556b3f876da3b756b452811e07fc7b173e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoatheme.h')
0 files changed, 0 insertions, 0 deletions