Mercurial > octave
diff libgui/src/main-window.cc @ 31748:90a741992f3f
assume QGuiApplication::setDesktopFileName is available
* acinclude.m4 (OCTAVE_CHECK_FUNC_QGUIAPPLICATION_SETDESKTOPFILENAME):
Delete.
(OCTAVE_CHECK_QT_VERSION): Delete use.
* main-window.cc: Don't check HAVE_QGUIAPPLICATION_SETDESKTOPFILENAME.
Delete code to work around absence of QGuiApplication::setDesktopFileName.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 17 Jan 2023 10:04:19 -0500 |
parents | 2f730c070d3e |
children | 21f9b34eb893 |
line wrap: on
line diff
--- a/libgui/src/main-window.cc Tue Jan 17 10:00:45 2023 -0500 +++ b/libgui/src/main-window.cc Tue Jan 17 10:04:19 2023 -0500 @@ -158,9 +158,7 @@ adopt_dock_widgets (); -#if defined (HAVE_QGUIAPPLICATION_SETDESKTOPFILENAME) QGuiApplication::setDesktopFileName ("org.octave.Octave.desktop"); -#endif QApplication *qapp = m_octave_qobj.qapplication ();