diff options
| author | J-P Nurmi <jpnurmi@digia.com> | 2012-11-27 00:06:14 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-04 14:54:57 +0100 |
| commit | 14dab5b2d7cb7b6b32d9672758c0f3b5d4ec3354 (patch) | |
| tree | 8206805908b2c9da0edd6619845a0019cc5d95d2 /src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp | |
| parent | 4b7276b93f21e4b131c8840ca2f6c6bf4f003595 (diff) | |
Add QProxyStyle(QString key) constructor for convenience
The QStyle implementations are becoming private, so the following
slightly verbose pattern seems to be now repeated a lot:
new QProxyStyle(QStyleFactory::create("windows"))
This change adds an alternative, more convenient constructor for
this particular use case:
new QProxyStyle("windows")
Change-Id: I97ded597a0fd3225a6354ebea0abb367237430af
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/platformsupport/fontdatabases/basic/qbasicfontdatabase.cpp')
0 files changed, 0 insertions, 0 deletions
