diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-11-11 13:33:20 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-01-26 09:14:27 +0000 |
commit | 17e672a67ed2ba6c8ec3952ff4ab255cb45fcce6 (patch) | |
tree | 2a4d8cf1f73e8893d1cdd7bd020953ba338f1904 /src/corelib/tools/qstring.cpp | |
parent | ffecbfc980c97290a66a2b569ee663c97c8c1298 (diff) |
Use QImage::reinterpretAsFormat in QPixmap
Use the new QImage method instead of operating on private API.
At the same time the code is improved to ensure the QImage is detached.
Change-Id: Ia015c0bb18d7bc62da38397594730254843e5a0d
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/corelib/tools/qstring.cpp')
0 files changed, 0 insertions, 0 deletions