Changeset 21842 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 28, 2009 1:44:57 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleWnd.h
r20200 r21842 37 37 #include <QDialog> 38 38 #include <QMenu> 39 #include <QPointer> 39 40 40 41 #ifdef VBOX_WITH_DEBUGGER_GUI … … 377 378 bool mIsWaitingModeResize : 1; 378 379 bool was_max : 1; 379 Q ObjectList hidden_children;380 QList < QPointer <QWidget> > mHiddenChildren; 380 381 int console_style; 381 382 QPalette mErasePalette; -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r21777 r21842 2259 2259 2260 2260 AssertReturn (console, false); 2261 AssertReturn (( hidden_children.isEmpty() == aOn), false);2261 AssertReturn ((mHiddenChildren.empty() == aOn), false); 2262 2262 AssertReturn ((aSeamless && mIsSeamless != aOn) || 2263 2263 (!aSeamless && mIsFullscreen != aOn), false); … … 2375 2375 { 2376 2376 w->hide(); 2377 hidden_children.append (w);2377 mHiddenChildren.append (w); 2378 2378 } 2379 2379 } … … 2428 2428 2429 2429 /* Show everything hidden when going fullscreen. */ 2430 foreach (Q Object *obj, hidden_children)2431 ((QWidget *) obj)->show();2432 hidden_children.clear();2430 foreach (QPointer <QWidget> child, mHiddenChildren) 2431 if (child) child->show(); 2432 mHiddenChildren.clear(); 2433 2433 } 2434 2434
Note:
See TracChangeset
for help on using the changeset viewer.