Changes in src/qtwin.cpp [0948070876:a7998257bc] in tspsg
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/qtwin.cpp
r0948070876 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.