code style fixes

This commit is contained in:
Aaron Seigo 2012-09-23 11:23:27 +02:00
parent 885ca80083
commit 18563be2fb

View File

@ -53,11 +53,12 @@ namespace Plasma
bool copyFolder(QString sourcePath, QString targetPath)
{
QDir source(sourcePath);
if(!source.exists())
if (!source.exists()) {
return false;
}
QDir target(targetPath);
if(!target.exists()) {
if (!target.exists()) {
QString targetName = target.dirName();
target.cdUp();
target.mkdir(targetName);