- Timestamp:
- Jan 30, 2007 5:00:31 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r438 r439 1373 1373 int flags = WType_TopLevel | WStyle_Customize | WStyle_NoBorder | 1374 1374 WStyle_StaysOnTop; 1375 1376 /* test by kerschi1377 int isvdesk = QApplication::desktop()->isVirtualDesktop();1378 1379 int numscreens = QApplication::desktop()->numScreens();1380 1381 int idxprimaryscreen = QApplication::desktop()->primaryScreen();1382 int screennumber = QApplication::desktop()->screenNumber(this);1383 QRect scrGeo1 = QApplication::desktop()->screenGeometry (this);1384 1385 vboxProblem().message (this, VBoxProblemReporter::Error,1386 tr ("<p>vdesk: %1 numscreens: %2 idxprim: %3 screen#: %4 x:%5 y:%6 w:%7 h:%8</p>")1387 .arg (isvdesk,0,10)1388 .arg (numscreens,0,10)1389 .arg (idxprimaryscreen,0,10)1390 .arg (screennumber,0,10)1391 .arg (scrGeo1.x(),0,10)1392 .arg (scrGeo1.y(),0,10)1393 .arg (scrGeo1.width(),0,10)1394 .arg (scrGeo1.height(),0,10));1395 */1396 1397 1398 1375 QRect scrGeo = QApplication::desktop()->screenGeometry (this); 1399 1376 /* hide early to avoid extra flicker */ … … 1414 1391 } 1415 1392 delete list; 1416 /* reparet to apply new flags */ 1417 //original 1418 // reparent (parentWidget(), flags, QPoint (0, 0), false); 1419 //edited by kerschi 1393 /* reparet to apply new flags and place to the top left corner of the 1394 * current desktop */ 1420 1395 reparent (parentWidget(), flags, QPoint (scrGeo.x(), scrGeo.y()), false); 1421 1422 1396 /* adjust colors and appearance */ 1423 1397 erase_color = centralWidget()->eraseColor();
Note:
See TracChangeset
for help on using the changeset viewer.