summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpainter.cpp
diff options
context:
space:
mode:
authorJohn Preston <johnprestonmail@gmail.com>2016-04-27 18:40:56 +0300
committerMaurice Kalinowski <maurice.kalinowski@qt.io>2016-05-02 12:18:36 +0000
commit1c456751b35ded269663d63015b8078bab283b93 (patch)
tree8e71414e6b18ab6a6bb89cbea397193f4b1ac807 /src/gui/painting/qpainter.cpp
parentc09008d27ca1456fb53a3fc9c71d5f88b1081221 (diff)
Fix QFile::copy() on WinRT.
Implementation of QFileSystemEngine::copyFile() uses CopyFile2() as if it is CopyFile() function, but CopyFile2() returns HRESULT, not BOOL. So the success should be checked by "SUCCEEDED()" instead of "!= 0". Current implementation does exactly the opposite because S_OK == 0. Change-Id: I0677d54447d22366fb2031e0b928a3d10e24c0ed Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
0 files changed, 0 insertions, 0 deletions