summaryrefslogtreecommitdiffstats
path: root/libkdepim/kfileio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kfileio.cpp')
-rw-r--r--libkdepim/kfileio.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdepim/kfileio.cpp b/libkdepim/kfileio.cpp
index 6aa30467b..f601bc6d6 100644
--- a/libkdepim/kfileio.cpp
+++ b/libkdepim/kfileio.cpp
@@ -302,12 +302,12 @@ QString checkAndCorrectPermissionsIfPossible( const QString &toCheck,
}
}
- // For each file or folder we can check if the file is readable
+ // For each file or folder we can check if the file is readable
// and writable, as requested.
if ( fiToCheck.isFile() || fiToCheck.isDir() ) {
if ( !fiToCheck.isReadable() && wantItReadable ) {
- // Get the current permissions. No need to do anything with an
+ // Get the current permissions. No need to do anything with an
// error, it will het added to errors anyhow, later on.
if ( stat(toCheckEnc,&statbuffer) != 0 ) {
kdDebug() << "wantItR: Can't read perms of " << toCheck << endl;
@@ -339,7 +339,7 @@ QString checkAndCorrectPermissionsIfPossible( const QString &toCheck,
}
}
- // If it is a folder and recursive is true, then we check the contents of
+ // If it is a folder and recursive is true, then we check the contents of
// the folder.
if ( fiToCheck.isDir() && recursive ){
QDir g(toCheck);
@@ -355,7 +355,7 @@ QString checkAndCorrectPermissionsIfPossible( const QString &toCheck,
QString newToCheck = toCheck + "/" + fi->fileName();
QFileInfo fiNewToCheck(newToCheck);
if ( fi->fileName() != "." && fi->fileName() != ".." ) {
- error.append ( checkAndCorrectPermissionsIfPossible( newToCheck,
+ error.append ( checkAndCorrectPermissionsIfPossible( newToCheck,
recursive, wantItReadable, wantItWritable) );
}
++it;
@@ -369,14 +369,14 @@ bool checkAndCorrectPermissionsIfPossibleWithErrorHandling( QWidget *parent,
const QString &toCheck, const bool recursive, const bool wantItReadable,
const bool wantItWritable )
{
- QString error = checkAndCorrectPermissionsIfPossible(toCheck, recursive,
+ QString error = checkAndCorrectPermissionsIfPossible(toCheck, recursive,
wantItReadable, wantItWritable);
- // There is no KMessageBox with Retry, Cancel and Details.
- // so, I can't provide a functionality to recheck. So it now
+ // There is no KMessageBox with Retry, Cancel and Details.
+ // so, I can't provide a functionality to recheck. So it now
// it is just a warning.
if ( !error.isEmpty() ) {
kdDebug() << "checkPermissions found:" << error << endl;
- KMessageBox::detailedSorry(parent,
+ KMessageBox::detailedSorry(parent,
i18n("Some files or folders do not have "
"the right permissions, please correct them "
"manually."),