Changeset a7998257bc in tspsg for src


Ignore:
Timestamp:
Nov 12, 2014, 3:34:43 PM (10 years ago)
Author:
paulcdejean <paulcdejean@…>
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)
Message:

Changes I had to make to get this to build on windows.

Location:
src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.cpp

    rfecf053b50 ra7998257bc  
    7979
    8080#ifdef Q_OS_WIN32
     81#   include <initguid.h>
    8182#   include "shobjidl.h"
    8283#endif
  • src/qtwin.cpp

    rfecf053b50 ra7998257bc  
    8484{
    8585    if (!pDwmIsCompositionEnabled) {
    86         QLibrary dwmLib(QString::fromAscii("dwmapi"));
     86        QLibrary dwmLib(QString::fromLatin1("dwmapi"));
    8787        pDwmIsCompositionEnabled =(PtrDwmIsCompositionEnabled)dwmLib.resolve("DwmIsCompositionEnabled");
    8888        pDwmExtendFrameIntoClientArea = (PtrDwmExtendFrameIntoClientArea)dwmLib.resolve("DwmExtendFrameIntoClientArea");
     
    197197#ifdef Q_OS_WIN32
    198198    if (resolveLibs()) {
    199         QLibrary dwmLib(QString::fromAscii("dwmapi"));
     199        QLibrary dwmLib(QString::fromLatin1("dwmapi"));
    200200        HRESULT hr = S_OK;
    201201        MARGINS m = {left, top, right, bottom};
     
    224224        DWORD color = 0;
    225225        BOOL opaque = FALSE;
    226         QLibrary dwmLib(QString::fromAscii("dwmapi"));
     226        QLibrary dwmLib(QString::fromLatin1("dwmapi"));
    227227        HRESULT hr = S_OK;
    228228        hr = pDwmGetColorizationColor(&color, &opaque);
Note: See TracChangeset for help on using the changeset viewer.