Changes in / [fecf053b50:978fdf3c4b] in tspsg


Ignore:
Location:
src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.cpp

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

    rfecf053b50 r978fdf3c4b  
    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.