From: <su...@us...> - 2010-07-19 08:43:46
|
Revision: 3633 http://tora.svn.sourceforge.net/tora/?rev=3633&view=rev Author: subik Date: 2010-07-19 08:43:39 +0000 (Mon, 19 Jul 2010) Log Message: ----------- fix for crash clicking the close-tab-button Modified Paths: -------------- trunk/tora/src/tomain.cpp Modified: trunk/tora/src/tomain.cpp =================================================================== --- trunk/tora/src/tomain.cpp 2010-07-18 11:29:05 UTC (rev 3632) +++ trunk/tora/src/tomain.cpp 2010-07-19 08:43:39 UTC (rev 3633) @@ -730,6 +730,9 @@ { b->setTabsClosable(true); connect(b, SIGNAL(tabCloseRequested(int)), this, SLOT(workspaceCloseWindow(int))); + // we should be quite sure that the QMdiArea tab-widget + // goes first (because findChildren is called recursively) + break; } #endif } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |