Changeset 364 for trunk/src/gui/kernel/qapplication_pm.cpp
- Timestamp:
- Nov 30, 2009, 10:40:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qapplication_pm.cpp
r353 r364 329 329 void qt_init(QApplicationPrivate *priv, int) 330 330 { 331 332 331 int argc = priv->argc; 333 332 char **argv = priv->argv; … … 354 353 } 355 354 355 356 356 357 // initialize key mapper 357 358 QKeyMapper::changeKeyboard(); … … 389 390 QColormap::cleanup(); 390 391 391 if (displayPS) { 392 WinReleasePS(displayPS); 393 displayPS = 0; 394 } 392 WinReleasePS(displayPS); 393 displayPS = 0; 395 394 396 395 #ifdef QT_LOG_BLITSPEED … … 411 410 Q_GUI_EXPORT HPS qt_display_ps() 412 411 { 413 Q_ASSERT(qApp && qApp->thread() == QThread::currentThread());414 if (! displayPS)415 displayPS = WinGetScreenPS(HWND_DESKTOP);412 Q_ASSERT(qApp); 413 if (!) 414 ; 416 415 return displayPS; 417 416 }
Note:
See TracChangeset
for help on using the changeset viewer.