openclonk/src/editor
Armin Burgmeier e39a3a40f7 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-10-02 22:34:51 -07:00
..
C4Console.cpp Make console destruction more deterministic 2016-10-01 13:35:28 -10:00
C4Console.h Merge branch 'master' into qteditor 2016-04-03 21:06:32 +02:00
C4ConsoleCocoa.mm Make console destruction more deterministic 2016-10-01 13:35:28 -10:00
C4ConsoleGUI.h Make console destruction more deterministic 2016-10-01 13:35:28 -10: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-10-02 22:34:51 -07:00
C4ConsoleQt.h Qt Editor: Add effects to object list view + fixes 2016-02-21 22:23:42 -05:00
C4ConsoleQtDefinitionListViewer.cpp Improve GetDefinitionGroupPath script function 2016-09-05 18:30:04 -04:00
C4ConsoleQtDefinitionListViewer.h Improve GetDefinitionGroupPath script function 2016-09-05 18:30:04 -04:00
C4ConsoleQtMainWindow.ui Editor: More shortcuts; show helper shortcuts in tools menu 2016-09-10 01:17:40 -04:00
C4ConsoleQtNewScenario.cpp Qt editor: Better placement of PlayerStart object in new scenario 2016-08-06 21:29:26 -04:00
C4ConsoleQtNewScenario.h Merge branch 'master' into qteditor 2016-04-03 21:06:32 +02:00
C4ConsoleQtNewScenario.ui Qt editor: Allow creation of larger map in new scenario 2016-08-06 21:29:09 -04:00
C4ConsoleQtObjectListViewer.cpp Merge branch 'master' into qteditor 2016-06-20 22:27:03 -04:00
C4ConsoleQtObjectListViewer.h Merge branch 'master' into qteditor 2016-04-03 21:06:32 +02:00
C4ConsoleQtPropListViewer.cpp Editor property enum delegate: Improve grouping when an item is also a group 2016-09-05 19:19:33 -04:00
C4ConsoleQtPropListViewer.h Add alpha mask option to editor property color delegate 2016-09-03 22:07:09 -04:00
C4ConsoleQtShapes.cpp Qt Editor: Add point property delegate 2016-07-30 01:05:12 -04:00
C4ConsoleQtShapes.h Qt Editor: Add point property delegate 2016-07-30 01:05:12 -04:00
C4ConsoleQtState.cpp editor: delete viewport widgets immediately 2016-10-02 22:34:51 -07:00
C4ConsoleQtState.h Make console destruction more deterministic 2016-10-01 13:35:28 -10:00
C4ConsoleQtViewport.cpp editor: delete viewport widgets immediately 2016-10-02 22:34:51 -07:00
C4ConsoleQtViewport.h Editor: More shortcuts; show helper shortcuts in tools menu 2016-09-10 01:17:40 -04:00
C4ConsoleWin32.cpp Make console destruction more deterministic 2016-10-01 13:35:28 -10:00
C4EditCursor.cpp Editor: Hide grade circle in viewport when using rectangle or picker tool 2016-08-27 20:10:58 -04:00
C4EditCursor.h Remove the GTK platform (USE_GTK) 2016-08-03 16:25:46 +02: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 Remove the GTK platform (USE_GTK) 2016-08-03 16:25:46 +02:00
C4ObjectListDlg.h Remove the GTK platform (USE_GTK) 2016-08-03 16:25:46 +02:00
C4ToolsDlg.cpp Qt Editor: Add "Static Flat" landscape mode 2016-06-17 18:44:59 -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