openclonk/src/editor
Armin Burgmeier 0340a28cdd editor: delete viewport widgets immediately
I don't know why the viewports are deleted with deleteLater(), but it leads
to an OpenGL context getting deselected behind our back, and so we don't know
when is a good time to re-select it. This leads to termination of the engine
when selecting File->Close (Ctrl+W) in the editor, because the graphics
re-initialization fails with no GL context active.

Instead, just delete the viewport widget immediately, which works fine at
least on Linux. This is also recommended by the Qt documentation at
http://doc.qt.io/qt-5/qopenglwidget.html.
2016-11-26 15:19:56 -08:00
..
C4Console.cpp Make console destruction more deterministic 2016-11-26 15:19:56 -08:00
C4Console.h Editor: Add "Export packed" file menu item 2016-11-20 22:43:44 -05:00
C4ConsoleCocoa.mm Make console destruction more deterministic 2016-11-26 15:19:56 -08:00
C4ConsoleGUI.h Make console destruction more deterministic 2016-11-26 15:19:56 -08:00
C4ConsoleGUICommon.h Update all copyright notices for 2016 2016-04-03 20:24:42 +02:00
C4ConsoleQt.cpp editor: delete viewport widgets immediately 2016-11-26 15:19:56 -08:00
C4ConsoleQt.h Qt Editor: Add effects to object list view + fixes 2016-02-21 22:23:42 -05:00
C4ConsoleQtDefinitionListViewer.cpp Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
C4ConsoleQtDefinitionListViewer.h Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
C4ConsoleQtMainWindow.ui Editor: Add "Export packed" file menu item 2016-11-20 22:43:44 -05:00
C4ConsoleQtNewScenario.cpp Editor: Add "open in network" to file menu and to new scenario dialogue 2016-11-20 13:24:09 -05:00
C4ConsoleQtNewScenario.h Editor: Add "open in network" to file menu and to new scenario dialogue 2016-11-20 13:24:09 -05:00
C4ConsoleQtNewScenario.ui Editor: Add "open in network" to file menu and to new scenario dialogue 2016-11-20 13:24:09 -05:00
C4ConsoleQtObjectListViewer.cpp Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
C4ConsoleQtObjectListViewer.h Editor: Fix object list update on object removal 2016-10-15 11:43:12 -04:00
C4ConsoleQtPropListViewer.cpp Editor: Fix shape edge and vertex properties when used within an enum 2016-11-20 13:15:00 -05:00
C4ConsoleQtPropListViewer.h Editor graph delegate: Add update callback functionality for graph edits 2016-11-12 22:20:05 -05:00
C4ConsoleQtShapes.cpp Editor: Fix shape drag value updates 2016-11-20 13:15:00 -05:00
C4ConsoleQtShapes.h Editor shapes: Update shape if value changed by script 2016-11-12 22:20:04 -05:00
C4ConsoleQtState.cpp editor: delete viewport widgets immediately 2016-11-26 15:19:56 -08:00
C4ConsoleQtState.h Make console destruction more deterministic 2016-11-26 15:19:56 -08:00
C4ConsoleQtViewport.cpp editor: delete viewport widgets immediately 2016-11-26 15:19:56 -08:00
C4ConsoleQtViewport.h Editor: Add graph, polyline and polygon shape delegates 2016-11-02 09:54:31 -04:00
C4ConsoleWin32.cpp Make console destruction more deterministic 2016-11-26 15:19:56 -08:00
C4EditCursor.cpp Fix mac build 2016-11-20 13:58:25 -05:00
C4EditCursor.h Add drag_finished parameter to EditCursorMoved callback 2016-11-20 13:14:59 -05:00
C4EditorWindowController.h Darwin: What the hell does "#import" do anyway? 2016-04-04 23:27:50 +02:00
C4EditorWindowController.mm Merge branch 'master' into qteditor 2016-06-20 22:27:03 -04:00
C4ObjectListDlg.cpp Editor: Fix object list update on object removal 2016-10-15 11:43:12 -04:00
C4ObjectListDlg.h Editor object list: Remove effects; add Global and Scenario 2016-10-15 10:06:44 -04:00
C4ToolsDlg.cpp Replace NULL by nullptr in C++ sources 2016-11-02 19:58:02 -04:00
C4ToolsDlg.h Editor: Hide grade circle in viewport when using rectangle or picker tool 2016-08-27 20:10:58 -04:00
C4ViewportWindow.cpp Remove the GTK platform (USE_GTK) 2016-08-03 16:25:46 +02:00
C4ViewportWindow.h Remove the GTK platform (USE_GTK) 2016-08-03 16:25:46 +02:00
resource.qrc Qt Editor: Add sound property delegate 2016-07-27 22:35:11 -04:00