diff options
author | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2015-09-01 14:00:17 +0200 |
---|---|---|
committer | Niels Weber <niels.weber@theqtcompany.com> | 2015-09-07 10:41:45 +0000 |
commit | cab3405ad2b0d269924a93263298304bff8807eb (patch) | |
tree | 2cc70eac08d78376998e8406ed41211b42598449 /src/sdk/updatechecker.cpp | |
parent | 823efa49cc61e91d7deb7b14d0bc05991c142474 (diff) |
Missed to rename classes and to update docs and tests.
Change-Id: I2d79ab4094cb9706287d44160543c19b35a66c95
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
Diffstat (limited to 'src/sdk/updatechecker.cpp')
-rw-r--r-- | src/sdk/updatechecker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sdk/updatechecker.cpp b/src/sdk/updatechecker.cpp index ea0427098..7c10cec19 100644 --- a/src/sdk/updatechecker.cpp +++ b/src/sdk/updatechecker.cpp @@ -54,13 +54,13 @@ UpdateChecker::UpdateChecker(int &argc, char *argv[]) int UpdateChecker::check() { - KDRunOnceChecker runCheck(qApp->applicationDirPath() + QLatin1String("/lockmyApp15021976.lock")); - if (runCheck.isRunning(KDRunOnceChecker::ConditionFlag::Lockfile)) { + RunOnceChecker runCheck(qApp->applicationDirPath() + QLatin1String("/lockmyApp15021976.lock")); + if (runCheck.isRunning(RunOnceChecker::ConditionFlag::Lockfile)) { // It is possible to install an application and thus the maintenance tool into a // directory that requires elevated permission to create a lock file. Since this // cannot be done without requesting credentials from the user, we silently ignore // the fact that we could not create the lock file and check the running processes. - if (runCheck.isRunning(KDRunOnceChecker::ConditionFlag::ProcessList)) + if (runCheck.isRunning(RunOnceChecker::ConditionFlag::ProcessList)) throw QInstaller::Error(QLatin1String("An instance is already checking for updates.")); } |