MCPcopy Create free account
hub / github.com/KDE/kdiff3 / slotFocusChanged

Method slotFocusChanged

src/kdiff3.cpp:565–570  ·  view source on GitHub ↗

Make sure Edit menu tracks focus correctly. */

Source from the content-addressed store, hash-verified

563 Make sure Edit menu tracks focus correctly.
564*/
565void KDiff3App::slotFocusChanged([[maybe_unused]] QWidget* old, [[maybe_unused]] QWidget* now)
566{
567 qCDebug(kdiffMain) << "[KDiff3App::slotFocusChanged] old = " << old << ", new =" << now;
568 //This needs to be called after the focus change is complete
569 QMetaObject::invokeMethod(this, &KDiff3App::updateAvailabilities, Qt::QueuedConnection);
570}
571
572// Restore and show mainWindow.
573void KDiff3App::showMainWindow()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected