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

Method showEvent

gui/qt/dockwidget.cpp:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void DockWidget::showEvent(QShowEvent *event) {
91 if (event->spontaneous()) {
92 return;
93 }
94 if (m_tabs != this) {
95 m_tabs->updateExpandability(m_tabs->tabs(this));
96 }
97 updateExpandability(tabs());
98}
99
100void DockWidget::updateExpandability(const QList<DockWidget *> &tabs) {
101 bool expandable = false;

Callers

nothing calls this directly

Calls 2

updateExpandabilityMethod · 0.80
tabsMethod · 0.80

Tested by

no test coverage detected