*** 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 ----
