MCPcopy Create free account
hub / github.com/ElementsProject/elements / bringToFront

Function bringToFront

src/qt/guiutil.cpp:408–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408void bringToFront(QWidget* w)
409{
410#ifdef Q_OS_MAC
411 ForceActivation();
412#endif
413
414 if (w) {
415 // activateWindow() (sometimes) helps with keyboard focus on Windows
416 if (w->isMinimized()) {
417 w->showNormal();
418 } else {
419 w->show();
420 }
421 w->activateWindow();
422 w->raise();
423 }
424}
425
426void handleCloseWindowShortcut(QWidget* w)
427{

Callers 6

usedSendingAddressesMethod · 0.85
createMenuBarMethod · 0.85
showDebugWindowMethod · 0.85
showNormalIfMinimizedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected