[rkward-cvs] rkward/rkward/agents showedittextfileagent.cpp,1.3,1.4

Thomas Friedrichsmeier tfry at users.sourceforge.net
Wed Oct 5 16:56:08 UTC 2005


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

Modified Files:
	showedittextfileagent.cpp 
Log Message:
Workarounds for strange compiler error

Index: showedittextfileagent.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/agents/showedittextfileagent.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** showedittextfileagent.cpp	14 Sep 2005 16:32:25 -0000	1.3
--- showedittextfileagent.cpp	5 Oct 2005 16:56:06 -0000	1.4
***************
*** 114,118 ****
  	if ((args->type == RCallbackArgs::RShowFiles) && args->int_b) {
  		for (int n = 0; n < args->int_a; ++n) {
! 			QFile (QString (args->chars_a[n])).remove ();
  		}
  	}
--- 114,123 ----
  	if ((args->type == RCallbackArgs::RShowFiles) && args->int_b) {
  		for (int n = 0; n < args->int_a; ++n) {
! 			// does not compile on some systems (October 2005).
! 			//QFile (QString (args->chars_a[n])).remove ();
! 			// Workaround (use this instead for a couple of months):
! 			QFile file;
! 			file.setName (QString (args->chars_a[n]));
! 			file.remove ();
  		}
  	}





More information about the rkward-tracker mailing list