code style fixes
This commit is contained in:
parent
885ca80083
commit
18563be2fb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user