changeset 31753:93067553a722

fix omission in previous change * graphics-init.cc (graphics_init): Assume HAVE_QT_GRAPHICS is always defined.
author John W. Eaton <jwe@octave.org>
date Tue, 17 Jan 2023 15:48:16 -0500
parents 345a3f5890e7
children 106c7532a764
files libgui/src/graphics-init.cc
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libgui/src/graphics-init.cc	Tue Jan 17 13:43:26 2023 -0500
+++ b/libgui/src/graphics-init.cc	Tue Jan 17 15:48:16 2023 -0500
@@ -43,8 +43,6 @@
 
   void graphics_init (interpreter& interp)
   {
-#if defined (HAVE_QT_GRAPHICS)
-
     gh_manager& gh_mgr = interp.get_gh_manager ();
 
     autolock guard (gh_mgr.graphics_lock ());
@@ -66,12 +64,6 @@
     gtk_mgr.register_toolkit ("qt");
 
     gtk_mgr.load_toolkit (tk);
-
-#else
-
-    octave_unused_parameter (interp);
-
-#endif
   }
 
 OCTAVE_END_NAMESPACE(octave)