Changes in / [f0097d1bf3:fecf053b50] in tspsg
- Location:
- src
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
rf0097d1bf3 rfecf053b50 79 79 80 80 #ifdef Q_OS_WIN32 81 # include <initguid.h>82 81 # include "shobjidl.h" 83 82 #endif -
src/qtwin.cpp
rf0097d1bf3 rfecf053b50 84 84 { 85 85 if (!pDwmIsCompositionEnabled) { 86 QLibrary dwmLib(QString::from Latin1("dwmapi"));86 QLibrary dwmLib(QString::fromAscii("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 Latin1("dwmapi"));199 QLibrary dwmLib(QString::fromAscii("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 Latin1("dwmapi"));226 QLibrary dwmLib(QString::fromAscii("dwmapi")); 227 227 HRESULT hr = S_OK; 228 228 hr = pDwmGetColorizationColor(&color, &opaque);
Note: See TracChangeset
for help on using the changeset viewer.