diff options
Diffstat (limited to 'tdecore/kdesktopfile.cpp')
-rw-r--r-- | tdecore/kdesktopfile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/kdesktopfile.cpp b/tdecore/kdesktopfile.cpp index fa1626701..3e262be3a 100644 --- a/tdecore/kdesktopfile.cpp +++ b/tdecore/kdesktopfile.cpp @@ -124,7 +124,7 @@ bool KDesktopFile::isDesktopFile(const TQString& path) bool KDesktopFile::isAuthorizedDesktopFile(const TQString& path) { - if (!kapp || kapp->authorize("run_desktop_files")) + if (!tdeApp || tdeApp->authorize("run_desktop_files")) return true; if (path.isEmpty()) @@ -300,13 +300,13 @@ bool KDesktopFile::tryExec() const } } TQStringList list = readListEntry("X-TDE-AuthorizeAction"); - if (kapp && !list.isEmpty()) + if (tdeApp && !list.isEmpty()) { for(TQStringList::ConstIterator it = list.begin(); it != list.end(); ++it) { - if (!kapp->authorize((*it).stripWhiteSpace())) + if (!tdeApp->authorize((*it).stripWhiteSpace())) return false; } } @@ -320,7 +320,7 @@ bool KDesktopFile::tryExec() const user = ::getenv("ADMIN_ACCOUNT"); if (user.isEmpty()) user = "root"; - if (!kapp->authorize("user/"+user)) + if (!tdeApp->authorize("user/"+user)) return false; } else { @@ -333,7 +333,7 @@ bool KDesktopFile::tryExec() const user = ::getenv("ADMIN_ACCOUNT"); if (user.isEmpty()) user = "root"; - if (!kapp->authorize("user/"+user)) + if (!tdeApp->authorize("user/"+user)) return false; } } |