Changeset 8915 in vbox for trunk/src/VBox/Frontends/VirtualBox4/src/VBoxFBQuartz2D.cpp
- Timestamp:
- May 19, 2008 12:11:49 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30970
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxFBQuartz2D.cpp
r8155 r8915 157 157 Assert (mImage); 158 158 159 QWidget * pMain = qApp->mainWidget();160 Assert (VALID_PTR ( pMain));159 QWidget *main = vboxGlobal().mainWindow(); 160 Assert (VALID_PTR (main)); 161 161 QWidget* viewport = mView->viewport(); 162 162 Assert (VALID_PTR (viewport)); … … 171 171 Assert (VALID_PTR (ctx)); 172 172 /* We handle the seamless mode as a special case. */ 173 if (qobject_cast <VBoxConsoleWnd *> ( pMain)->isTrueSeamless())173 if (qobject_cast <VBoxConsoleWnd *> (main)->isTrueSeamless()) 174 174 { 175 175 /* Here we paint the windows without any wallpaper.
Note:
See TracChangeset
for help on using the changeset viewer.