[Bug 357016] extragear/office/kile/src

tbraun braun at physik.fu-berlin.de
Sun May 3 15:16:46 UTC 2009


SVN commit 962946 by tbraun:

Don't use this as parent as it crashes then on ubuntu jaunty.
I verified this on kubuntu using QT 4.5.
With debian lenny and qt 4.4.3 it does not crash.

Any explanations why this fix works are very appreciated ;)

BUG: 190326
CCBUG: 190483
CCMAIL: 357016 at bugs.launchpad.net


 M  +4 -4      kile.cpp  


--- trunk/extragear/office/kile/src/kile.cpp #962945:962946
@@ -1031,10 +1031,10 @@
 
 void Kile::initSelectActions(){
 
-	m_compilerActions = new ToolbarSelectAction(i18n("Compile"), this);
-	m_viewActions = new ToolbarSelectAction(i18n("View"), this);
-	m_convertActions = new ToolbarSelectAction(i18n("Convert"), this);
-	m_quickActions = new ToolbarSelectAction(i18n("Quick"), this);
+	m_compilerActions = new ToolbarSelectAction(i18n("Compile"), m_mainWindow);
+	m_viewActions = new ToolbarSelectAction(i18n("View"), m_mainWindow);
+	m_convertActions = new ToolbarSelectAction(i18n("Convert"), m_mainWindow);
+	m_quickActions = new ToolbarSelectAction(i18n("Quick"), m_mainWindow);
 	
 	actionCollection()->addAction("list_compiler_select", m_compilerActions);
 	actionCollection()->addAction("list_convert_select", m_convertActions);

-- 
kile crashed with SIGSEGV in QWidgetPrivate::deleteExtra()
https://bugs.launchpad.net/bugs/357016
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list