Changeset 101093 in vbox
- Timestamp:
- Sep 12, 2023 10:53:43 PM (19 months ago)
- svn:sync-xref-src-repo-rev:
- 159062
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Debugger/VBoxDbgBase.cpp
r98103 r101093 228 228 VBoxDbgBaseWindow::vReposition(int a_x, int a_y, unsigned a_cx, unsigned a_cy, bool a_fResize) 229 229 { 230 if (a_fResize) 231 { 232 m_cx = a_cx; 233 m_cy = a_cy; 234 235 QSize BorderSize = frameSize() - size(); 236 if (BorderSize == QSize(0,0)) 237 BorderSize = vGuessBorderSizes(); 238 239 resize(a_cx - BorderSize.width(), a_cy - BorderSize.height()); 240 } 241 242 m_x = a_x; 243 m_y = a_y; 244 move(a_x, a_y); 230 /* Don't modify if maximized. 231 We miss the desired size + position here, but never mind for now. */ 232 if (!(windowState() & Qt::WindowMaximized)) 233 { 234 if (a_fResize) 235 { 236 m_cx = a_cx; 237 m_cy = a_cy; 238 239 QSize BorderSize = frameSize() - size(); 240 if (BorderSize == QSize(0,0)) 241 BorderSize = vGuessBorderSizes(); 242 243 resize(a_cx - BorderSize.width(), a_cy - BorderSize.height()); 244 } 245 246 m_x = a_x; 247 m_y = a_y; 248 move(a_x, a_y); 249 } 245 250 } 246 251
Note:
See TracChangeset
for help on using the changeset viewer.