Changeset 264 for trunk/src/gui/image/qpixmap_pm.cpp
- Timestamp:
- Oct 28, 2009, 10:10:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/image/qpixmap_pm.cpp
r262 r264 47 47 #include "qicon.h" 48 48 #include "qbitmap.h" 49 49 50 50 51 #include "qt_os2.h" … … 230 231 return NULLHANDLE; 231 232 233 232 234 int w = WinQuerySysValue(HWND_DESKTOP, isPointer ? SV_CXPOINTER : SV_CXICON); 233 235 int h = WinQuerySysValue(HWND_DESKTOP, isPointer ? SV_CYPOINTER : SV_CYICON); 236 237 238 239 234 240 QSize size = icon.actualSize(QSize(w, h)); 235 QSize sizeMini = icon.actualSize(QSize(w / 2, h /2));241 QSize sizeMini = icon.actualSize(QSize(w2)); 236 242 237 243 QPixmap pm = icon.pixmap(size); … … 239 245 if (pm.isNull() && pmMini.isNull()) 240 246 return NULLHANDLE; 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 241 269 242 270 if (pm.isNull()) {
Note:
See TracChangeset
for help on using the changeset viewer.