[rkward-cvs] rkward/rkward/dialogs rkloadlibsdialog.cpp,1.13,1.14

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


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

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

Index: rkloadlibsdialog.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/dialogs/rkloadlibsdialog.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** rkloadlibsdialog.cpp	29 Sep 2005 16:02:51 -0000	1.13
--- rkloadlibsdialog.cpp	5 Oct 2005 16:56:06 -0000	1.14
***************
*** 186,190 ****
  		QDir archivedir = QDir (RKSettingsModuleLogfiles::filesPath ()).filePath ("package_archive");
  		if (!archivedir.exists ()) {
! 			QDir (RKSettingsModuleLogfiles::filesPath ()).mkdir ("package_archive");
  		} if (!archivedir.isReadable ()) {
  			RK_DO (qDebug ("Directory '%s' could not be created or is not readable", archivedir.absPath ().latin1 ()), DIALOGS, DL_ERROR);
--- 186,196 ----
  		QDir archivedir = QDir (RKSettingsModuleLogfiles::filesPath ()).filePath ("package_archive");
  		if (!archivedir.exists ()) {
! 			// does not compile on some systems (October 2005).
! 			//QDir (RKSettingsModuleLogfiles::filesPath ()).mkdir ("package_archive");
! 			// Workaround (use this instead for a couple of months):
! 			QString dummy = RKSettingsModuleLogfiles::filesPath ();
! 			QDir dir;
! 			dir.setPath (dummy);
! 			dir.mkdir ("package_archive");
  		} if (!archivedir.isReadable ()) {
  			RK_DO (qDebug ("Directory '%s' could not be created or is not readable", archivedir.absPath ().latin1 ()), DIALOGS, DL_ERROR);





More information about the rkward-tracker mailing list