[Bug 285961] Re: adept crashed with SIGSEGV in QTreeView::indexRowSizeHint()

Jonathan Thomas echidnaman at gmail.com
Thu Oct 23 00:36:17 UTC 2008


Should be fixed in 3.0~beta4ubuntu4 once it gets built/released,
mornfall provided a fix on IRC just now:

diff -rN -p -u old-adept-3/adept/extendablelist.h new-adept-3/adept/extendablelist.h
--- old-adept-3/adept/extendablelist.h  2008-10-23 02:16:18.851211536 +0200
+++ new-adept-3/adept/extendablelist.h  2008-10-23 02:16:19.279211883 +0200
@@ -103,6 +103,11 @@ public:
         closeAllEditorsRequested();
     }
 
+    virtual void setModel( QAbstractItemModel *m ) {
+        closeAllEditors();
+        QTreeView::setModel( m );
+    }
+
 Q_SIGNALS:
     void closeAllEditorsRequested();
 };

** Changed in: adept (Ubuntu)
       Status: Triaged => Fix Committed

-- 
adept crashed with SIGSEGV in QTreeView::indexRowSizeHint()
https://bugs.launchpad.net/bugs/285961
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to adept in ubuntu.




More information about the kubuntu-bugs mailing list