freebsd-ports/devel/kprof/files/patch-aa
Kirill Ponomarev e6877fa792 - Use Qt treeview libraries
PR:		50992
Submitted by:	zako <hagerakko@geocities.co.jp>
Approved by:	maintainer timeout > 1 month
2003-12-21 18:54:17 +00:00

31 lines
882 B
Text

*** kprof/kprofwidget.cpp.orig Thu Apr 10 22:50:13 2003
--- kprof/kprofwidget.cpp Thu Apr 10 22:59:37 2003
***************
*** 445,450 ****
--- 445,457 ----
QFileInfo gmonfinfo (outfile);
if (!gmonfinfo.exists ())
{
+ outfile = filename + ".gmon";
+ QFileInfo ngmoninfo (outfile);
+ }
+ QFileInfo ngmoninfo (outfile);
+
+ if (!gmonfinfo.exists () && !ngmoninfo.exists () )
+ {
outfile = finfo.dirPath () + "/fnccheck.out";
QFileInfo fnccheckinfo (outfile);
if (!fnccheckinfo.exists ())
***************
*** 591,600 ****
prepareProfileView (mObjs, true);
customizeColumns (mObjs, sLastFileFormat);
- #ifdef HAVE_LIBQTREEMAP
QListViewItem *obj_toplevel = new QListViewItem(mObjs,"Objects");
QListViewItem *hier_toplevel = new QListViewItem(mHier,"Hierarchy");
- #endif
// fill lists
fillFlatProfileList ();
--- 598,605 ----