Changes in / [fecf053b50:978fdf3c4b] in tspsg
- Location:
- src
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
rfecf053b50 r978fdf3c4b 79 79 80 80 #ifdef Q_OS_WIN32 81 # include <initguid.h> 81 82 # include "shobjidl.h" 82 83 #endif -
src/qtwin.cpp
rfecf053b50 r978fdf3c4b 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.