- Timestamp:
- Nov 9, 2016 5:55:45 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.cpp
r64447 r64621 365 365 } 366 366 367 void UIDesktopWidgetWatchdog::sltHandleHostScreenResized(const QRect & /* geometry */)367 void UIDesktopWidgetWatchdog::sltHandleHostScreenResized(const QRect &geometry) 368 368 { 369 369 /* Get the screen: */ … … 374 374 const int iHostScreenIndex = qApp->screens().indexOf(pScreen); 375 375 AssertReturnVoid(iHostScreenIndex != -1); 376 // printf("UIDesktopWidgetWatchdog::sltHandleHostScreenResized(%d)\n", iHostScreenIndex); 376 LogRel(("GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenResized: " 377 "Screen %d is formally resized to: %dx%d x %dx%d\n", 378 iHostScreenIndex, geometry.x(), geometry.y(), 379 geometry.width(), geometry.height())); 377 380 378 381 # ifdef VBOX_WS_X11 … … 385 388 } 386 389 387 void UIDesktopWidgetWatchdog::sltHandleHostScreenWorkAreaResized(const QRect & /* availableGeometry */)390 void UIDesktopWidgetWatchdog::sltHandleHostScreenWorkAreaResized(const QRect &availableGeometry) 388 391 { 389 392 /* Get the screen: */ … … 394 397 const int iHostScreenIndex = qApp->screens().indexOf(pScreen); 395 398 AssertReturnVoid(iHostScreenIndex != -1); 396 // printf("UIDesktopWidgetWatchdog::sltHandleHostScreenWorkAreaResized(%d)\n", iHostScreenIndex); 399 LogRel(("GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenWorkAreaResized: " 400 "Screen %d work area is formally resized to: %dx%d x %dx%d\n", 401 iHostScreenIndex, availableGeometry.x(), availableGeometry.y(), 402 availableGeometry.width(), availableGeometry.height())); 397 403 398 404 # ifdef VBOX_WS_X11 … … 410 416 void UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated(int iHostScreenIndex, QRect availableGeometry) 411 417 { 412 // printf("UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated(%d): %dx%d x %dx%d\n", 413 // iHostScreenIndex, availableGeometry.x(), availableGeometry.y(), availableGeometry.width(), availableGeometry.height()); 418 LogRel(("GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated: " 419 "Screen %d work area is actually resized to: %dx%d x %dx%d\n", 420 iHostScreenIndex, availableGeometry.x(), availableGeometry.y(), 421 availableGeometry.width(), availableGeometry.height())); 414 422 415 423 /* Apply received data: */
Note:
See TracChangeset
for help on using the changeset viewer.