]> git.sesse.net Git - kdenlive/commit
Fix hang on exit somewhere strange inside Qt on OS X.
authorDan Dennedy <dan@dennedy.org>
Sat, 4 Sep 2010 05:28:48 +0000 (05:28 +0000)
committerDan Dennedy <dan@dennedy.org>
Sat, 4 Sep 2010 05:28:48 +0000 (05:28 +0000)
commit9429b50ed8a0e1529cf5736391fd73d2973a8feb
treef55967de4aba6a24cb57bc676806c83f68a787b1
parent5cd7cd6cf9b549aba64b296e210a3ffc415ea1b8
Fix hang on exit somewhere strange inside Qt on OS X.

This fixes it on OS X, and stil works for me on Linux. Note that
explicitly deleting the window object on Linux causes a crash. By
setting a breakpoint in ~MainWindow, I see that before this change, on
OS X, the dtor is not called. Meanwhile, something in the GUI is likely
still using Qt during/after app.exit() (it was hanging in QtColor, but
the backtrace did not lead back to Kdenlive source). Howevever, on
Linux, without explicitly deleting the window object, the debugger still
stops on the breakpoint inside the dtor! Might this be dependent on Qt
version?

svn path=/trunk/kdenlive/; revision=4833
src/main.cpp
src/mainwindow.cpp