vbox的更動 69073 路徑 trunk/src/VBox
- 時間撮記:
- 2017-10-13 下午01:58:45 (7 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIMiniToolBar.cpp
r66952 r69073 1052 1052 } 1053 1053 case QEvent::Move: 1054 { 1055 // WORKAROUND: 1056 // In certain cases there can be that parent is moving outside of 1057 // full-screen geometry. That for example can happen if virtual 1058 // desktop being changed. We should ignore Move event in such case. 1059 /* Skip if parent is outside of full-screen geometry: */ 1060 QMoveEvent *pMoveEvent = static_cast<QMoveEvent*>(pEvent); 1061 if (!gpDesktop->screenGeometry(m_pParent).contains(pMoveEvent->pos())) 1062 break; 1063 /* Skip if parent or we are invisible: */ 1064 if ( !m_pParent->isVisible() 1065 || !isVisible()) 1066 break; 1067 /* Skip if parent or we are minimized: */ 1068 if ( isParentMinimized() 1069 || isMinimized()) 1070 break; 1071 1072 /* Asynchronously call for sltShow(): */ 1073 LogRel2(("GUI: UIMiniToolBar::eventFilter: Parent move event\n")); 1074 QMetaObject::invokeMethod(this, "sltShow", Qt::QueuedConnection); 1075 break; 1076 } 1054 1077 case QEvent::Resize: 1055 1078 { … … 1064 1087 1065 1088 /* Asynchronously call for sltShow(): */ 1066 LogRel2(("GUI: UIMiniToolBar::eventFilter: Parent move/resize event\n"));1089 LogRel2(("GUI: UIMiniToolBar::eventFilter: Parent resize event\n")); 1067 1090 QMetaObject::invokeMethod(this, "sltShow", Qt::QueuedConnection); 1068 1091 break;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器