From kde-devel Fri Nov 08 16:10:59 2002 From: Ravikiran Rajagopal Date: Fri, 08 Nov 2002 16:10:59 +0000 To: kde-devel Subject: KJanusWidget problem (also with noatun/kopete): showstopper? X-MARC-Message: https://marc.info/?l=kde-devel&m=103677194009630 Hello, There seems to be a problem in qSmartMinisize in Qt-copy or kdelibs HEAD that affects quite a few applications. Specifically this triggers a crash on exit in noatun & kopete atleast. I cannot verify whether this is KDE-related or Qt-related. Here is example code that works perfectly with Qt-3.0.5 and KDE-3.0.3 but crashes & burns on Qt-copy and CVS HEAD: -------------------------------------------------------------------------------- #include #include #include #include #include int main( int argc, char **argv ) { KApplication app( argc, argv, "Testing" ); KJanusWidget wid(0,0,KJanusWidget::TreeList); app.setMainWidget( &wid ); QStringList list1, list2; list1 << "level1" << "page"; list2 << "level2" << "page"; QHBox *box1, *box2; box1 = wid.addHBoxPage(list1); new QTextEdit(box1); box2 = wid.addHBoxPage(list2); new QTextEdit(box2); wid.show(); delete box1; return app.exec(); } -------------------------------------------------------------------------------- Is there a workaround for this? Or should we bug the trolls? Ravi >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<