MCPcopy Create free account
hub / github.com/KDE/kdevelop / widgetChanged

Method widgetChanged

kdevplatform/shell/uicontroller.cpp:118–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 void widgetChanged(QWidget*, QWidget* now)
119 {
120 if (now) {
121 auto* win = qobject_cast<Sublime::MainWindow*>(now->window());
122 if( win )
123 {
124 activeSublimeWindow = win;
125 }
126 }
127 }
128
129 /**
130 * Record the last active tool view action listener.

Callers 1

initializeMethod · 0.80

Calls 1

windowMethod · 0.80

Tested by

no test coverage detected