Make sure Edit menu tracks focus correctly. */
| 563 | Make sure Edit menu tracks focus correctly. |
| 564 | */ |
| 565 | void 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. |
| 573 | void KDiff3App::showMainWindow() |
nothing calls this directly
no outgoing calls
no test coverage detected