On Tuesday, 21 April 2020 16:44:19 PDT Ben Haller via Interest wrote: > connect(qApp, &QApplication::focusChanged, [this]() { > updateUIEnabling(); });
Your object probably outlived QApplication. Add a third argument of "this" to the connect() call. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel System Software Products _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest