summaryrefslogtreecommitdiffstats
path: root/kded
diff options
context:
space:
mode:
Diffstat (limited to 'kded')
-rw-r--r--kded/kded.cpp2
-rw-r--r--kded/tdebuildsycoca.cpp14
2 files changed, 8 insertions, 8 deletions
diff --git a/kded/kded.cpp b/kded/kded.cpp
index ed002b530..1cd64b3e7 100644
--- a/kded/kded.cpp
+++ b/kded/kded.cpp
@@ -65,7 +65,7 @@ static void runBuildSycoca(TQObject *callBackObj=0, const char *callBackSlot=0)
if(checkStamps)
args.append("--checkstamps");
if(delayedCheck)
- args.append("--nochectdefiles");
+ args.append("--nocheckfiles");
else
checkStamps = false; // useful only during kded startup
if (callBackObj)
diff --git a/kded/tdebuildsycoca.cpp b/kded/tdebuildsycoca.cpp
index f9b0238c7..81bff9613 100644
--- a/kded/tdebuildsycoca.cpp
+++ b/kded/tdebuildsycoca.cpp
@@ -695,7 +695,7 @@ static KCmdLineOptions options[] = {
{ "nosignal", I18N_NOOP("Do not signal applications to update"), 0 },
{ "noincremental", I18N_NOOP("Disable incremental update, re-read everything"), 0 },
{ "checkstamps", I18N_NOOP("Check file timestamps"), 0 },
- { "nochectdefiles", I18N_NOOP("Disable checking files (dangerous)"), 0 },
+ { "nocheckfiles", I18N_NOOP("Disable checking files (dangerous)"), 0 },
{ "global", I18N_NOOP("Create global database"), 0 },
{ "menutest", I18N_NOOP("Perform menu generation test run only"), 0 },
{ "track <menu-id>", I18N_NOOP("Track menu id for debug purposes"), 0 },
@@ -798,10 +798,10 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
}
fprintf(stderr, "[tdebuildsycoca] %s running...\n", appName);
- bool chectdefiles = bGlobalDatabase || args->isSet("chectdefiles");
+ bool checkfiles = bGlobalDatabase || args->isSet("checkfiles");
- bool incremental = !bGlobalDatabase && args->isSet("incremental") && chectdefiles;
- if (incremental || !chectdefiles)
+ bool incremental = !bGlobalDatabase && args->isSet("incremental") && checkfiles;
+ if (incremental || !checkfiles)
{
KSycoca::self()->disableAutoRebuild(); // Prevent deadlock
TQString current_language = TDEGlobal::locale()->language();
@@ -814,14 +814,14 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
(KSycoca::self()->timeStamp() == 0))
{
incremental = false;
- chectdefiles = true;
+ checkfiles = true;
delete KSycoca::self();
}
}
g_changeList = new TQStringList;
- bool checkstamps = incremental && args->isSet("checkstamps") && chectdefiles;
+ bool checkstamps = incremental && args->isSet("checkstamps") && checkfiles;
TQ_UINT32 filestamp = 0;
TQStringList oldresourcedirs;
if( checkstamps && incremental )
@@ -861,7 +861,7 @@ extern "C" KDE_EXPORT int kdemain(int argc, char **argv)
newTimestamp = (TQ_UINT32) time(0);
- if( chectdefiles && ( !checkstamps || !KBuildSycoca::checkTimestamps( filestamp, oldresourcedirs )))
+ if( checkfiles && ( !checkstamps || !KBuildSycoca::checkTimestamps( filestamp, oldresourcedirs )))
{
TQCString qSycocaPath = TQFile::encodeName(sycocaPath());
cSycocaPath = qSycocaPath.data();