Changeset 26213 in vbox
- Timestamp:
- Feb 3, 2010 5:14:10 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
-
VBoxConsoleView.cpp (modified) (2 diffs)
-
VBoxConsoleView.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r25901 r26213 4167 4167 * and things, but this is unfortunately not true for the more 4168 4168 * complex case of a desktop spanning multiple screens. */ 4169 QRect desktop = QApplication::desktop()->availableGeometry (this);4169 QRect desktop = availableGeometry(); 4170 4170 /* The area taken up by the console window on the desktop, 4171 4171 * including window frame, title and menu bar and whatnot. */ … … 4208 4208 } 4209 4209 4210 QRect VBoxConsoleView::availableGeometry() const 4211 { 4212 return mMainWnd->isWindowFullScreen() ? 4213 QApplication::desktop()->screenGeometry(this) : 4214 QApplication::desktop()->availableGeometry(this); 4215 } 4216 4210 4217 int VBoxConsoleView::contentsWidth() const 4211 4218 { -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.h
r25304 r26213 262 262 void calculateDesktopGeometry(); 263 263 void maybeRestrictMinimumSize(); 264 QRect availableGeometry() const; 264 265 265 266 VBoxConsoleWnd *mMainWnd;
Note:
See TracChangeset
for help on using the changeset viewer.

