Mercurial > octave
changeset 32250:a279f26c2e65
fix interpreter start with Qt6 under windows
* octave-qobject.cc (start_main_thread): use new notation of the receiver in
QTimer::singleShot
author | Torsten Lilge <ttl-octave@mailbox.org> |
---|---|
date | Thu, 10 Aug 2023 20:21:45 +0200 |
parents | 120134e43537 |
children | 8847e427f5f2 |
files | libgui/src/octave-qobject.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/octave-qobject.cc Thu Aug 10 11:26:38 2023 -0400 +++ b/libgui/src/octave-qobject.cc Thu Aug 10 20:21:45 2023 +0200 @@ -412,7 +412,7 @@ // the interpreter until after the main window and QApplication are // running to prevent race conditions. - QTimer::singleShot (0, m_interpreter_qobj, SLOT (execute ())); + QTimer::singleShot (0, m_interpreter_qobj, &interpreter_qobject::execute); m_interpreter_qobj->moveToThread (m_main_thread);