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

Method focusEditor

kdevplatform/sublime/mainwindow.cpp:172–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void MainWindow::focusEditor()
173{
174 Q_D(const MainWindow);
175
176 if (!d->activeView) {
177 return;
178 }
179 if (auto* const widget = d->activeView->widget()) {
180 widget->setFocus(Qt::ShortcutFocusReason);
181 }
182}
183
184void MainWindow::initializeStatusBar()
185{

Callers 1

showDockWidgetMethod · 0.80

Calls 1

widgetMethod · 0.45

Tested by

no test coverage detected