Changeset 87676 in vbox
- Timestamp:
- Feb 10, 2021 11:47:43 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/VBoxDbgGui.cpp
r86120 r87676 26 26 27 27 #include "VBoxDbgGui.h" 28 #include <QDesktopWidget>29 28 #include <QApplication> 29 #include <QScreen> 30 30 31 31 … … 225 225 { 226 226 QRect Rct(0, 0, 1600, 1200); 227 Q DesktopWidget *pDesktop = QApplication::desktop();228 if (p Desktop)229 Rct = p Desktop->availableGeometry(QPoint(m_x, m_y));227 QScreen *pScreen = QApplication::screenAt(QPoint(m_x, m_y)); 228 if (pScreen) 229 Rct = pScreen->availableGeometry(); 230 230 m_xDesktop = Rct.x(); 231 231 m_yDesktop = Rct.y();
Note:
See TracChangeset
for help on using the changeset viewer.