Changeset a7998257bc in tspsg for src/qtwin.cpp
- Timestamp:
- Nov 12, 2014, 3:34:43 PM (10 years ago)
- Branches:
- appveyor, imgbot, master
- Children:
- 978fdf3c4b, f0097d1bf3
- Parents:
- fecf053b50
- git-author:
- paulcdejean <paulcdejean@…> (11/12/14 15:34:43)
- git-committer:
- paulcdejean <paulcdejean@…> (11/12/14 15:47:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/qtwin.cpp
rfecf053b50 ra7998257bc 84 84 { 85 85 if (!pDwmIsCompositionEnabled) { 86 QLibrary dwmLib(QString::from Ascii("dwmapi"));86 QLibrary dwmLib(QString::fromLatin1("dwmapi")); 87 87 pDwmIsCompositionEnabled =(PtrDwmIsCompositionEnabled)dwmLib.resolve("DwmIsCompositionEnabled"); 88 88 pDwmExtendFrameIntoClientArea = (PtrDwmExtendFrameIntoClientArea)dwmLib.resolve("DwmExtendFrameIntoClientArea"); … … 197 197 #ifdef Q_OS_WIN32 198 198 if (resolveLibs()) { 199 QLibrary dwmLib(QString::from Ascii("dwmapi"));199 QLibrary dwmLib(QString::fromLatin1("dwmapi")); 200 200 HRESULT hr = S_OK; 201 201 MARGINS m = {left, top, right, bottom}; … … 224 224 DWORD color = 0; 225 225 BOOL opaque = FALSE; 226 QLibrary dwmLib(QString::from Ascii("dwmapi"));226 QLibrary dwmLib(QString::fromLatin1("dwmapi")); 227 227 HRESULT hr = S_OK; 228 228 hr = pDwmGetColorizationColor(&color, &opaque);
Note: See TracChangeset
for help on using the changeset viewer.