file.cpp
changeset 210 0cf4c12cfe1c
parent 195 98f260cfb1fe
child 215 e211e2fc9d54
     1.1 --- a/file.cpp	Wed Jan 25 09:05:57 2006 +0000
     1.2 +++ b/file.cpp	Fri Feb 17 09:21:48 2006 +0000
     1.3 @@ -131,9 +131,9 @@
     1.4  	d.mkdir ("flags");	
     1.5  }
     1.6  
     1.7 -errorCode zipDir (const QDir &zipDir, const QString &zipName)
     1.8 +ErrorCode zipDir (const QDir &zipDir, const QString &zipName)
     1.9  {
    1.10 -	errorCode err=success;
    1.11 +	ErrorCode err=success;
    1.12  	
    1.13  	// zip the temporary directory
    1.14  	Process *zipProc=new Process ();
    1.15 @@ -171,13 +171,12 @@
    1.16  			}
    1.17  		}
    1.18  	}	// zip could be started
    1.19 -	if (err==aborted) qWarning("file.cpp: zip aborted"); 
    1.20  	return err;	
    1.21  }
    1.22  
    1.23 -errorCode unzipDir (const QDir &zipDir, const QString &zipName)
    1.24 +ErrorCode unzipDir (const QDir &zipDir, const QString &zipName)
    1.25  {
    1.26 -	errorCode err=success;
    1.27 +	ErrorCode err=success;
    1.28  
    1.29  	// Try to unzip file
    1.30  	Process *zipProc=new Process ();