Legend:
- Unmodified
- Added
- Removed
-
trunk/src/globals.h
r134 r136 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 -
trunk/src/main.cpp
r134 r136 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.