Changeset 468fa8e7e5 in tspsg for src/globals.h


Ignore:
Timestamp:
Mar 27, 2016, 8:36:12 PM (2 years ago)
Author:
leppa
Branches:
appveyor, master
Children:
02fedc7af6
Parents:
b9167cec6d
git-author:
Oleksii Serdiuk <contacts@…> (03/27/16 20:36:12)
git-committer:
Oleksii Serdiuk <contacts@…> (04/18/16 19:18:49)
Message:

Fix compilation errors when C++11 is enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/globals.h

    rb9167cec6d r468fa8e7e5  
    129129
    130130#if QT_VERSION >= QT_VERSION_CHECK(4,6,0)
    131 #   define GET_ICON(x) QIcon::fromTheme(x, QIcon(":/images/icons/"ICON_SIZE"/"x"."ICON_FORMAT))
     131#   define GET_ICON(x) QIcon::fromTheme(x, QIcon(":/images/icons/" ICON_SIZE "/" x "." ICON_FORMAT))
    132132#else
    133 #   define GET_ICON(x) QIcon(":/images/icons/"ICON_SIZE"/"x"."ICON_FORMAT)
     133#   define GET_ICON(x) QIcon(":/images/icons/" ICON_SIZE "/" x "." ICON_FORMAT)
    134134// No QVariant::toReal() member in Qt < 4.6
    135135// A quick hack to maintain compatibility with Qt 4.5.x
Note: See TracChangeset for help on using the changeset viewer.