Changeset a7998257bc in tspsg
- 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)
- Location:
- src
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mainwindow.cpp
rfecf053b50 ra7998257bc 79 79 80 80 #ifdef Q_OS_WIN32 81 # include <initguid.h> 81 82 # include "shobjidl.h" 82 83 #endif -
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.