Changeset cac8759dba in tspsg for src
- Timestamp:
- Sep 14, 2010, 8:51:50 PM (14 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- f29549ec20
- Parents:
- a713b103e8
- git-author:
- Oleksii Serdiuk <contacts@…> (09/14/10 20:51:50)
- git-committer:
- Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/globals.h
ra713b103e8 rcac8759dba 125 125 #endif // Q_OS_WIN32 126 126 127 #ifndef DOXYGEN_EXCLUDE 128 129 #ifdef HANDHELD 130 #define ICON_SIZE "32x32" 131 #define ICON_FORMAT "png" 132 #elif !defined(NOSVG) 133 #define ICON_SIZE "scalable" 134 #define ICON_FORMAT "svgz" 135 #else 136 #define ICON_SIZE "128x128" 137 #define ICON_FORMAT "png" 138 #endif 139 127 140 #if QT_VERSION >= 0x040600 128 #define GET_ICON(x) QIcon::fromTheme(x, QIcon(":/images/icons/" x".png"))141 #define GET_ICON(x) QIcon::fromTheme(x, QIcon(":/images/icons/"ICON_SIZE"/"x"."ICON_FORMAT)) 129 142 #else 130 #define GET_ICON(x) QIcon(":/images/icons/" x".png")143 #define GET_ICON(x) QIcon(":/images/icons/"ICON_SIZE"/"x"."ICON_FORMAT) 131 144 #endif 132 145 … … 148 161 #endif 149 162 163 #endif // DOXYGEN_EXCLUDE 164 150 165 #endif // GLOBALS_H -
src/main.cpp
ra713b103e8 rcac8759dba 34 34 35 35 //#ifdef STATIC_BUILD 36 // #ifndef NOSVG 37 // Q_IMPORT_PLUGIN(qsvgicon) 38 // #endif 36 39 // Q_IMPORT_PLUGIN(qjpeg) 37 40 // Q_IMPORT_PLUGIN(qtiff)
Note: See TracChangeset
for help on using the changeset viewer.