aboutsummaryrefslogtreecommitdiff
path: root/devel/kprof/files/patch-aa
blob: 5d2b40bb83efd8fff9ca0b0892c12dc8ae22134d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
*** 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 ----