I suspect something like this would fix the problem:

=== modified file 'kde/apport-kde'
--- kde/apport-kde      2012-02-17 13:48:39 +0000
+++ kde/apport-kde      2012-02-22 16:49:57 +0000
@@ -220,6 +220,9 @@
         if self.ui.report_file:
             self.showtree(False)
 
+    def addbutton(self, btn):
+        return self.findChild(QHBoxLayout, 'horizontalLayout').addWidget(btn)
+
     def on_continue_clicked(self):
         self.done(1)
     

But it remains unclear to me what is calling into addbutton at that
point in the code.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/938625

Title:
  apport-kde crashed with AttributeError in addbutton(): 'NoneType'
  object has no attribute 'addButton'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/938625/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to