Hello, I am currently working on new KGet engine, and plasma widget. I am having problem in sources function,
It looks like this, QStringList KGetEngine::sources() const { QStringList sources; //sources << "KGet"; QList<TransferHandler*> trans = KGet::allTransfers(); foreach (TransferHandler *handler, trans) { sources << handler->dest().fileName(); } return sources; } But KGet::allTransfers function crashes. Here is crash report : Application: Plasma Engine Explorer (plasmaengineexplorer), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [KCrash Handler] #6 0xae960ca8 in QList (l=..., this=0xbfe42150) at /usr/include/qt4/QtCore/qlist.h:122 #7 QForeachContainer (t=..., this=0xbfe42150) at /usr/include/qt4/QtCore/qglobal.h:2365 #8 TransferTreeModel::transferGroups (this=0x0) at /home/bshah/kdesrc/kde/kdenetwork/kget/core/transfertreemodel.cpp:450 #9 0xae94b14c in KGet::allTransfers () at /home/bshah/kdesrc/kde/kdenetwork/kget/core/kget.cpp:660 #10 0xaea100e0 in KGetEngine::sources (this=0x9af19f8) at /home/bshah/kdesrc/kde/kdenetwork/kget/plasma/engine/kgetengine.cpp:65 #11 0x0805418e in _start () Thanks, Bhushan
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<