MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / raiseContainingDock

Method raiseContainingDock

gui/qt/mainwindow.cpp:1000–1009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

998}
999
1000void MainWindow::raiseContainingDock(QWidget *widget) {
1001 QWidget *dock = findSelfOrParent<QDockWidget*>(widget);
1002 if (dock != Q_NULLPTR) {
1003 if (m_uiEditMode) {
1004 dock->show();
1005 }
1006 dock->activateWindow();
1007 dock->raise();
1008 }
1009}
1010
1011void MainWindow::mouseDoubleClickEvent(QMouseEvent *event) {
1012 if (!childAt(event->pos())) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected