[rkward-cvs] rkward/rkward/windows rkhtmlwindow.cpp,1.6,1.7

Pierre ecoch at users.sourceforge.net
Sat Apr 15 11:03:02 UTC 2006


Update of /cvsroot/rkward/rkward/rkward/windows
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15258

Modified Files:
	rkhtmlwindow.cpp 
Log Message:
Show message when output is empty


Index: rkhtmlwindow.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/windows/rkhtmlwindow.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** rkhtmlwindow.cpp	13 Nov 2005 16:13:01 -0000	1.6
--- rkhtmlwindow.cpp	15 Apr 2006 11:03:00 -0000	1.7
***************
*** 183,188 ****
  	RK_TRACE (APP);
  
! 	bool ok = RKHTMLWindow::openURL (url);
! 	if (!ok) {
  		showOutputEmptyMessage ();
  	}
--- 183,191 ----
  	RK_TRACE (APP);
  
! 	QFile out_file (RKSettingsModuleGeneral::filesPath () + "/rk_out.html");
! 	bool ok = out_file.exists();
! 	if (ok)  {
! 		RKHTMLWindow::openURL (url);
! 	} else {
  		showOutputEmptyMessage ();
  	}





More information about the rkward-tracker mailing list