Changeset 12888 in vbox for trunk/src/VBox/Frontends/VirtualBox4
- Timestamp:
- Oct 2, 2008 12:35:35 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 37287
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp
r12884 r12888 871 871 console->onViewOpened(); 872 872 873 #ifdef VBOX_WITH_DEBUGGER_GUI874 /* open debugger windows if requested */875 if (vboxGlobal().isDebuggerAutoShowEnabled())876 {877 move (QPoint (0, 0));878 dbgShowStatistics();879 dbgShowCommandLine();880 }881 #endif882 883 873 bool saved = machine_state == KMachineState_Saved; 884 874 … … 960 950 && mIsGraphicsSupported) 961 951 toggleFullscreenMode (true, true); 952 #ifdef VBOX_WITH_DEBUGGER_GUI 953 /* Open the debugger in "full screen" mode requested by the user. */ 954 else if (vboxGlobal().isDebuggerAutoShowEnabled()) 955 { 956 /* console in upper left corner of the desktop. */ 957 QRect rct(0, 0, 0, 0); 958 QDesktopWidget *desktop = QApplication::desktop(); 959 if (desktop) 960 rct = desktop->availableGeometry(pos()); 961 move (QPoint (rct.x(), rct.y())); 962 963 dbgShowStatistics(); 964 dbgShowCommandLine(); 965 } 966 #endif 967 962 968 mIsOpenViewFinished = true; 963 969 LogFlowFuncLeave(); … … 3498 3504 if (RT_SUCCESS (rc)) 3499 3505 { 3500 rc = pfnGuiCreate (csession.iface(), &mDbgGui, &mDbgGuiVT); 3506 ISession *pISession = csession.iface(); 3507 rc = pfnGuiCreate (pISession, &mDbgGui, &mDbgGuiVT); 3501 3508 if (RT_SUCCESS (rc)) 3502 3509 {
Note:
See TracChangeset
for help on using the changeset viewer.