[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeutils/ark/kerfuffle (silent)
From:       Raphael Kubo da Costa <kubito () gmail ! com>
Date:       2009-04-30 23:10:41
Message-ID: 1241133041.989243.24623.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 961907 by rkcosta:

SVN_SILENT: Small coding style fixes.

 M  +6 -4      jobs.cpp  


--- trunk/KDE/kdeutils/ark/kerfuffle/jobs.cpp #961906:961907
@@ -204,11 +204,14 @@
 		bool ret = m_interface->copyFiles( m_files, m_destinationDir, m_options );
 
 		if (!m_interface->waitForFinishedSignal()) m_interface->finished(ret);
+	}
 
-	}
 	void ExtractJob::fillInDefaultValues(ExtractionOptions& options)
 	{
-		if (!options.contains("PreservePaths")) options["PreservePaths"] = false;
+		if (!options.contains("PreservePaths"))
+		{
+			options["PreservePaths"] = false;
+		}
 	}
 
 	AddJob::AddJob( const QStringList& files, const CompressionOptions& options , \
ReadWriteArchiveInterface *interface, QObject *parent ) @@ -249,11 +252,10 @@
 		Q_ASSERT(m_writeInterface);
 
 		m_writeInterface->registerObserver( this );
-		bool ret = m_writeInterface->deleteFiles( m_files );
+		int ret = m_writeInterface->deleteFiles( m_files );
 
 		if (!m_interface->waitForFinishedSignal()) m_interface->finished(ret);
 	}
-
 } // namespace Kerfuffle
 
 #include "jobs.moc"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic